Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001001/0.001001, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009848/0.0009848, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9101/0.9101, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7474/0.7474, allocations: 154.6 MB / 414.8 MB, free: 0.5508 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5208 GB, free: 1.816 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.583e-05, allocations: 4.609 kB / 0.5208 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001497/0.001523, allocations: 0.8453 MB / 0.5217 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.002943, allocations: 1.226 MB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.003013, allocations: 4 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.003053, allocations: 11.86 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.003146, allocations: 20.39 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.003589, allocations: 152.3 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.003772, allocations: 170.8 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003901, allocations: 33.27 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.004058, allocations: 99.84 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004166, allocations: 47.86 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.004193, allocations: 12 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.004263, allocations: 23.94 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.004295, allocations: 23.91 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.004343, allocations: 44.78 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.004517, allocations: 119.5 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00452, allocations: 0.5625 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00452, allocations: 0 / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.004525, allocations: 0.9375 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007027/0.005228, allocations: 0.5257 MB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.005285, allocations: 8.031 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.00534, allocations: 16.89 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005512, allocations: 160.4 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.005531, allocations: 9.344 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.005559, allocations: 12.38 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.005713, allocations: 82.92 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.005723, allocations: 192 / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.005734, allocations: 4.375 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.005743, allocations: 4.375 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.005768, allocations: 15.92 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.00625, allocations: 344.8 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.006305, allocations: 39.64 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.006325, allocations: 12.25 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.006345, allocations: 0 / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.006457, allocations: 91.22 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.006458, allocations: 0 / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002056/0.006664, allocations: 93.56 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.006698, allocations: 55.41 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.00681, allocations: 200.6 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.006831, allocations: 37.64 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.006908, allocations: 155.6 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.00693, allocations: 35.67 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.006991, allocations: 58.45 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.007128, allocations: 0.4923 MB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.007186, allocations: 53.67 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.007299, allocations: 177.6 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.007459, allocations: 204.5 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.007462, allocations: 4 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002465/0.007709, allocations: 243.2 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.00774, allocations: 41.05 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.007749, allocations: 4 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.007767, allocations: 4 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.00783, allocations: 19.98 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.007838, allocations: 7.938 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.164e-05/0.00793, allocations: 27.92 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.007947, allocations: 16 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.758e-05/0.008045, allocations: 175.5 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.008059, allocations: 11.95 kB / 0.5269 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.008096, allocations: 16.78 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.008098, allocations: 0 / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008101, allocations: 3.938 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.008105, allocations: 0 / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.008407, allocations: 341.9 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008409, allocations: 1.781 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.008452, allocations: 11.98 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.008456, allocations: 8.031 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008464, allocations: 0 / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008465, allocations: 0 / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008466, allocations: 1.531 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.008681, allocations: 247.7 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008694, allocations: 11.91 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.008711, allocations: 6.75 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.008768, allocations: 3.984 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.008813, allocations: 11.98 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.00882, allocations: 4 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.008891, allocations: 143.1 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008891, allocations: 0 / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002997/0.009191, allocations: 35.92 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001454/0.009336, allocations: 105.3 kB / 0.5278 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.009549, allocations: 179 kB / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.00955, allocations: 0 / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.00959, allocations: 31.61 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.009789, allocations: 30.75 kB / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.0102, allocations: 248 kB / 0.5283 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.01025, allocations: 67.83 kB / 0.5283 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.01029, allocations: 16.08 kB / 0.5284 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.616e-05/0.01038, allocations: 98.19 kB / 0.5285 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.01039, allocations: 0.5938 kB / 0.5285 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of Templates: time 0.003982/0.01437, allocations: 1.905 MB / 0.5303 GB, free: 7.777 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5766438422724605]