Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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.001024/0.001024, allocations: 82.05 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.001082/0.001082, allocations: 173.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 1.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7565/0.7565, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.5207 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.437e-05/4.722e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.009597/0.009644, allocations: 7.192 MB / 0.5278 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004453/0.0141, allocations: 2.465 MB / 0.5302 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005927/0.01469, allocations: 23.81 kB / 0.5302 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.0152, allocations: 127 kB / 0.5303 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.01664, allocations: 0.5404 MB / 0.5308 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.01777, allocations: 365.5 kB / 0.5312 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.0191, allocations: 1.089 MB / 0.5323 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.01944, allocations: 273.1 kB / 0.5325 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008091/0.02025, allocations: 0.5483 MB / 0.5331 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.02057, allocations: 283.1 kB / 0.5333 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.02061, allocations: 32 kB / 0.5334 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.02087, allocations: 135.7 kB / 0.5335 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.02094, allocations: 102.2 kB / 0.5336 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.02106, allocations: 151.6 kB / 0.5337 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.02154, allocations: 402.6 kB / 0.5341 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.02154, allocations: 0 / 0.5341 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02155, allocations: 0 / 0.5341 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.02155, allocations: 0 / 0.5341 GB, free: 4.246 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007479/0.0223, allocations: 0.7668 MB / 0.5349 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.02233, allocations: 13.08 kB / 0.5349 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.02248, allocations: 76.59 kB / 0.5349 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.02284, allocations: 354.4 kB / 0.5353 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.02286, allocations: 21.36 kB / 0.5353 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.0229, allocations: 33.14 kB / 0.5353 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.02323, allocations: 359.2 kB / 0.5357 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.02324, allocations: 4.469 kB / 0.5357 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.02326, allocations: 12.91 kB / 0.5357 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.02328, allocations: 8 kB / 0.5357 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.02339, allocations: 82.86 kB / 0.5358 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.0244, allocations: 1.3 MB / 0.537 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.02456, allocations: 87.11 kB / 0.5371 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.0246, allocations: 36.64 kB / 0.5372 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.02466, allocations: 8.906 kB / 0.5372 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.02483, allocations: 202.1 kB / 0.5374 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.555e-06/0.02483, allocations: 6.734 kB / 0.5374 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002266/0.02506, allocations: 141.4 kB / 0.5375 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.02509, allocations: 51.41 kB / 0.5376 GB, free: 488 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.02532, allocations: 354 kB / 0.5379 GB, free: 124 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.02534, allocations: 33.7 kB / 0.5379 GB, free: 84 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.02549, allocations: 275 kB / 0.5382 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.02553, allocations: 51.58 kB / 0.5382 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.02559, allocations: 59.03 kB / 0.5383 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.02576, allocations: 0.5195 MB / 0.5388 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.02581, allocations: 49.67 kB / 0.5388 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.02591, allocations: 166.1 kB / 0.539 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.02606, allocations: 199.3 kB / 0.5392 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02606, allocations: 0 / 0.5392 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002574/0.02632, allocations: 261.6 kB / 0.5394 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.02635, allocations: 29.7 kB / 0.5395 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.02636, allocations: 4 kB / 0.5395 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.02637, allocations: 5.5 kB / 0.5395 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.0265, allocations: 55.91 kB / 0.5395 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.02651, allocations: 11.92 kB / 0.5395 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.02663, allocations: 28.98 kB / 0.5396 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.02664, allocations: 23.91 kB / 0.5396 GB, free: 14.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 0.0001071/0.02675, allocations: 170.3 kB / 0.5398 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.02679, allocations: 43.7 kB / 0.5398 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.02697, allocations: 128.5 kB / 0.5399 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.02697, allocations: 5.562 kB / 0.5399 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02698, allocations: 0 / 0.5399 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002067/0.02718, allocations: 418 kB / 0.5403 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.02741, allocations: 209 kB / 0.5405 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02742, allocations: 0 / 0.5405 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.0275, allocations: 37.08 kB / 0.5406 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.0275, allocations: 0 / 0.5406 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.02752, allocations: 4.859 kB / 0.5406 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.02752, allocations: 0 / 0.5406 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02752, allocations: 0 / 0.5406 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.02773, allocations: 197 kB / 0.5408 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.02779, allocations: 43.78 kB / 0.5408 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.02782, allocations: 4.562 kB / 0.5408 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.02792, allocations: 17.45 kB / 0.5408 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.02797, allocations: 19.91 kB / 0.5408 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.02798, allocations: 7.984 kB / 0.5408 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001354/0.02812, allocations: 222.9 kB / 0.5411 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.02812, allocations: 0.5625 kB / 0.5411 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002728/0.02839, allocations: 112.3 kB / 0.5412 GB, free: 12.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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 0.0002347/0.02862, allocations: 150.8 kB / 0.5413 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.02884, allocations: 193.6 kB / 0.5415 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02884, allocations: 0 / 0.5415 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.0289, allocations: 43.59 kB / 0.5415 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.0294, allocations: 218.2 kB / 0.5417 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.03037, allocations: 0.6317 MB / 0.5424 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.63e-05/0.03042, allocations: 96.61 kB / 0.5425 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.03057, allocations: 46.39 kB / 0.5425 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.03083, allocations: 214 kB / 0.5427 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.03083, allocations: 0.5625 kB / 0.5427 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.009376/0.0402, allocations: 7.294 MB / 0.5498 GB, free: 3.852 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.824771811719984]