Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 192.4 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4458/0.4458, allocations: 54.93 MB / 324.4 MB, free: 116 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 63.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1542, allocations: 59.59 MB / 454.4 MB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.2706/0.4248, allocations: 14.23 MB / 468.7 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.4301, allocations: 3.483 MB / 472.2 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.4307, allocations: 15.34 kB / 472.2 MB, free: 29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.4315, allocations: 174 kB / 472.3 MB, free: 28.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.4328, allocations: 0.5279 MB / 472.9 MB, free: 28.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.4335, allocations: 300.8 kB / 473.2 MB, free: 28.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.4346, allocations: 1.04 MB / 474.2 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.435, allocations: 292.6 kB / 474.5 MB, free: 27.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.436, allocations: 367.9 kB / 474.8 MB, free: 27.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.4363, allocations: 304.7 kB / 475.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.4364, allocations: 29.88 kB / 475.2 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.4369, allocations: 279.1 kB / 475.4 MB, free: 27.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.437, allocations: 86.83 kB / 475.5 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.4372, allocations: 197.4 kB / 475.7 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.4379, allocations: 0.5656 MB / 476.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4379, allocations: 3.422 kB / 476.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4379, allocations: 0 / 476.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.4379, allocations: 2.812 kB / 476.3 MB, free: 27.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.00104/0.439, allocations: 0.715 MB / 477 MB, free: 26.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.439, allocations: 12.34 kB / 477 MB, free: 26.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.4392, allocations: 42.97 kB / 477.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.4398, allocations: 441 kB / 477.5 MB, free: 26.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4398, allocations: 23.16 kB / 477.5 MB, free: 26.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.4399, allocations: 24.12 kB / 477.5 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.4404, allocations: 291.2 kB / 477.8 MB, free: 25.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4404, allocations: 4 kB / 477.8 MB, free: 25.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.4404, allocations: 10.94 kB / 477.8 MB, free: 25.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4405, allocations: 12 kB / 477.9 MB, free: 25.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.4409, allocations: 188.5 kB / 478 MB, free: 25.85 MB / 382.1 MB 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.001316/0.4422, allocations: 1.411 MB / 479.4 MB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.4426, allocations: 178.1 kB / 479.6 MB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4428, allocations: 82.95 kB / 479.7 MB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008789/0.4436, allocations: 0.7611 MB / 480.5 MB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.4439, allocations: 126.7 kB / 480.6 MB, free: 23.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.444, allocations: 2.875 kB / 480.6 MB, free: 23.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006097/0.4446, allocations: 231.9 kB / 480.8 MB, free: 23.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4446, allocations: 58.98 kB / 480.9 MB, free: 23.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.4449, allocations: 327 kB / 481.2 MB, free: 23.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.445, allocations: 28.2 kB / 481.2 MB, free: 23.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.4451, allocations: 209 kB / 481.4 MB, free: 23.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.4451, allocations: 53.52 kB / 481.5 MB, free: 23.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.4452, allocations: 52.59 kB / 481.5 MB, free: 23.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.4453, allocations: 341.7 kB / 481.9 MB, free: 22.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4455, allocations: 64.61 kB / 481.9 MB, free: 22.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.4457, allocations: 147.8 kB / 482.1 MB, free: 22.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.446, allocations: 243.1 kB / 482.3 MB, free: 22.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4461, allocations: 4.562 kB / 482.3 MB, free: 22.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005277/0.4466, allocations: 313 kB / 482.6 MB, free: 22.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.4466, allocations: 36.52 kB / 482.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4467, allocations: 3.422 kB / 482.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4467, allocations: 3.25 kB / 482.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.4469, allocations: 56.02 kB / 482.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4469, allocations: 10.66 kB / 482.7 MB, free: 22.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4471, allocations: 26.86 kB / 482.8 MB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.4472, allocations: 9.344 kB / 482.8 MB, free: 22.34 MB / 382.1 MB 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 (28): * Single equations (assignments): 27 * 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.0001519/0.4473, allocations: 161.3 kB / 482.9 MB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.4474, allocations: 35.88 kB / 483 MB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.4478, allocations: 198.5 kB / 483.1 MB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4478, allocations: 0 / 483.1 MB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4479, allocations: 3 kB / 483.2 MB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003687/0.4482, allocations: 481.8 kB / 483.6 MB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.4486, allocations: 379.4 kB / 484 MB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4486, allocations: 3.938 kB / 484 MB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.4488, allocations: 37.88 kB / 484 MB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4488, allocations: 0 / 484 MB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4488, allocations: 6.938 kB / 484 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4488, allocations: 3.938 kB / 484 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4488, allocations: 1.125 kB / 484 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.4494, allocations: 287 kB / 484.3 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4495, allocations: 125 kB / 484.4 MB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.4496, allocations: 6.938 kB / 484.5 MB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.4498, allocations: 17.34 kB / 484.5 MB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.4499, allocations: 12.41 kB / 484.5 MB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4499, allocations: 9.531 kB / 484.5 MB, free: 21.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.4501, allocations: 230.6 kB / 484.7 MB, free: 20.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4501, allocations: 4 kB / 484.7 MB, free: 20.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.4505, allocations: 112.8 kB / 484.8 MB, free: 20.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * 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.0003211/0.4508, allocations: 180.5 kB / 485 MB, free: 20.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.4513, allocations: 235 kB / 485.2 MB, free: 20.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4513, allocations: 0 / 485.2 MB, free: 20.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4515, allocations: 75.95 kB / 485.3 MB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.4525, allocations: 222.4 kB / 485.5 MB, free: 20.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.454, allocations: 0.8587 MB / 486.4 MB, free: 19.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.4542, allocations: 0.7845 MB / 487.2 MB, free: 19.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003258/0.4546, allocations: 67.19 kB / 487.2 MB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.4547, allocations: 35.17 kB / 487.3 MB, free: 19.26 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4547, allocations: 0 / 487.3 MB, free: 19.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01369/0.4684, allocations: 6.637 MB / 493.9 MB, free: 18.75 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)