Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007425/0.0007425, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007102/0.0007102, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.9368/0.9368, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7561/0.7561, allocations: 203.8 MB / 0.5049 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 66.53 kB / 0.7194 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4475, allocations: 102 MB / 0.819 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0122/0.4597, allocations: 13.51 MB / 0.8322 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.464, allocations: 3.403 MB / 0.8355 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.4647, allocations: 24.56 kB / 0.8355 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006994/0.4654, allocations: 201 kB / 0.8357 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.467, allocations: 0.6242 MB / 0.8363 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.4679, allocations: 406.8 kB / 0.8367 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.4695, allocations: 1.113 MB / 0.8378 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.47, allocations: 257.1 kB / 0.8381 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.4711, allocations: 450.2 kB / 0.8385 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.4717, allocations: 306.8 kB / 0.8388 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.4717, allocations: 31.94 kB / 0.8388 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.4723, allocations: 214.5 kB / 0.839 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.4724, allocations: 102.2 kB / 0.8391 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.4726, allocations: 178 kB / 0.8393 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009199/0.4735, allocations: 0.5997 MB / 0.8399 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4735, allocations: 9.031 kB / 0.8399 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4735, allocations: 0 / 0.8399 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.4735, allocations: 0.6562 kB / 0.8399 GB, free: 3.727 MB / 0.6198 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.001136/0.4746, allocations: 0.6903 MB / 0.8406 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4747, allocations: 10.08 kB / 0.8406 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.4749, allocations: 51.03 kB / 0.8406 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.4755, allocations: 406.5 kB / 0.841 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.4755, allocations: 19.03 kB / 0.841 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.4756, allocations: 35.44 kB / 0.8411 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.4761, allocations: 416.3 kB / 0.8414 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4761, allocations: 1.094 kB / 0.8414 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.4761, allocations: 12.05 kB / 0.8415 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.4761, allocations: 6.562 kB / 0.8415 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.4765, allocations: 194.1 kB / 0.8417 GB, free: 2.527 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.4778, allocations: 1.096 MB / 0.8427 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.4781, allocations: 153 kB / 0.8429 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4782, allocations: 63.28 kB / 0.8429 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.787e-05/0.4783, allocations: 17.61 kB / 0.8429 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.4786, allocations: 227.3 kB / 0.8432 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.295e-06/0.4786, allocations: 0 / 0.8432 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004355/0.479, allocations: 232.9 kB / 0.8434 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.479, allocations: 53.66 kB / 0.8434 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.4793, allocations: 333.9 kB / 0.8438 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.4794, allocations: 32.05 kB / 0.8438 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4795, allocations: 225.9 kB / 0.844 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.4795, allocations: 58.44 kB / 0.8441 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.4796, allocations: 53.55 kB / 0.8441 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.4797, allocations: 337.8 kB / 0.8444 GB, free: 284 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4798, allocations: 99.33 kB / 0.8445 GB, free: 216 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.48, allocations: 178.2 kB / 0.8447 GB, free: 48 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4802, allocations: 251.6 kB / 0.8449 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4802, allocations: 0 / 0.8449 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003886/0.4806, allocations: 340.6 kB / 0.8453 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.4807, allocations: 35.48 kB / 0.8453 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4807, allocations: 2.719 kB / 0.8453 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4807, allocations: 3.625 kB / 0.8453 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4808, allocations: 62.14 kB / 0.8454 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4808, allocations: 16.41 kB / 0.8454 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.481, allocations: 31.47 kB / 0.8454 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.481, allocations: 9.781 kB / 0.8454 GB, free: 15.55 MB / 0.6355 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.0001311/0.4811, allocations: 161.5 kB / 0.8456 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.4812, allocations: 36.2 kB / 0.8456 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.4816, allocations: 196.4 kB / 0.8458 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4816, allocations: 2.688 kB / 0.8458 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4816, allocations: 7.938 kB / 0.8458 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002829/0.4819, allocations: 483.8 kB / 0.8463 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.4822, allocations: 239.7 kB / 0.8465 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4822, allocations: 0 / 0.8465 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.4823, allocations: 35.44 kB / 0.8465 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4823, allocations: 1.406 kB / 0.8465 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4823, allocations: 1.375 kB / 0.8465 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.4823, allocations: 4 kB / 0.8465 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4823, allocations: 5.375 kB / 0.8465 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.4827, allocations: 294.8 kB / 0.8468 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.4828, allocations: 45.17 kB / 0.8469 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4828, allocations: 5.25 kB / 0.8469 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4829, allocations: 12.95 kB / 0.8469 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.483, allocations: 17.34 kB / 0.8469 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.483, allocations: 13.45 kB / 0.8469 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001835/0.4832, allocations: 231.6 kB / 0.8471 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4832, allocations: 0 / 0.8471 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004122/0.4836, allocations: 128.3 kB / 0.8472 GB, free: 14.11 MB / 0.6355 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.0002689/0.4839, allocations: 193 kB / 0.8474 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.4842, allocations: 244.7 kB / 0.8477 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4842, allocations: 0 / 0.8477 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.4843, allocations: 64.75 kB / 0.8477 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.4849, allocations: 198.2 kB / 0.8479 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4859, allocations: 0.7794 MB / 0.8487 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.486, allocations: 196.4 kB / 0.8489 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.4861, allocations: 33.95 kB / 0.8489 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.4861, allocations: 5.156 kB / 0.8489 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.008611/0.4947, allocations: 6.093 MB / 0.8549 GB, free: 9.773 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0058378470130265] Failed to read output from testmodel.py, exit status != 0: 0.5014162301085889 0.5098737990000001 0.034395061000000005 Calling exit ...