Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008799/0.0008799, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9259/0.9259, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7278/0.7278, allocations: 154.6 MB / 414.5 MB, free: 0.6367 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.594e-05, allocations: 11.33 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001119/0.001135, allocations: 0.6533 MB / 0.5209 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.002121, allocations: 1.12 MB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.00216, allocations: 1.75 kB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.002189, allocations: 3.938 kB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.002249, allocations: 11.88 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.002507, allocations: 39.83 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.002589, allocations: 52.39 kB / 0.5221 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.002672, allocations: 8 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.002745, allocations: 36.41 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.002783, allocations: 9.016 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.002797, allocations: 4 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.002859, allocations: 23.97 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.002879, allocations: 12.97 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.002905, allocations: 15.92 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003021, allocations: 47.88 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003023, allocations: 0.625 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003023, allocations: 5.312 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.003028, allocations: 0 / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004283/0.003456, allocations: 389.1 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.003489, allocations: 8.031 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.003581, allocations: 13.42 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.003666, allocations: 121.9 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.003679, allocations: 4.375 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.003689, allocations: 4.312 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.003814, allocations: 63.69 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.003822, allocations: 192 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.003832, allocations: 5.625 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.003839, allocations: 384 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.003875, allocations: 11.92 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.004185, allocations: 268.5 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.004266, allocations: 50.97 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.004292, allocations: 20.42 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.004307, allocations: 0.8438 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.004378, allocations: 65 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.004379, allocations: 0.9375 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001628/0.004542, allocations: 77.61 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.004574, allocations: 54.06 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.004643, allocations: 165.9 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004653, allocations: 25.7 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.004696, allocations: 138.8 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.004711, allocations: 7.984 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.00475, allocations: 39.34 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.004857, allocations: 492.1 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.004876, allocations: 7.984 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.004911, allocations: 48.17 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.004967, allocations: 63.23 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004969, allocations: 1.031 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.526e-05/0.005054, allocations: 73.56 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005066, allocations: 13.11 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005071, allocations: 4 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.005083, allocations: 3.938 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.005141, allocations: 8.562 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005147, allocations: 5 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.005174, allocations: 11.92 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.005181, allocations: 1.156 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.005244, allocations: 160.6 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.005255, allocations: 11.89 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.005356, allocations: 78.92 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.005358, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.00536, allocations: 0.875 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005363, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.005548, allocations: 313.9 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005549, allocations: 2.75 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.005577, allocations: 20.05 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005579, allocations: 0 / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.005585, allocations: 0 / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005586, allocations: 0 / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005587, allocations: 0 / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.005701, allocations: 215.8 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.005708, allocations: 10.77 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.005718, allocations: 0 / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.005758, allocations: 4 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.005791, allocations: 11.92 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.0058, allocations: 4 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.005833, allocations: 123.2 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005833, allocations: 0 / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001571/0.00599, allocations: 21.33 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.395e-05/0.006084, allocations: 99.19 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.006177, allocations: 36.23 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006178, allocations: 7.406 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.006208, allocations: 19.67 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.006375, allocations: 11.94 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.006766, allocations: 146.2 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.0068, allocations: 59.34 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.006818, allocations: 6.406 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.00684, allocations: 16.44 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.00684, allocations: 0 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.002505/0.009345, allocations: 0.8934 MB / 0.5267 GB, free: 11.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.480979973450303]