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.00186/0.00186, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.00159/0.001591, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4515/0.4515, allocations: 55.01 MB / 325.4 MB, free: 0.6953 MB / 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.0006044/0.0006047, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5161, allocations: 60.72 MB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.0135/0.5297, allocations: 13.07 MB / 470.4 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005211/0.535, allocations: 3.27 MB / 473.7 MB, free: 30.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.5355, allocations: 19.75 kB / 473.7 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.536, allocations: 155 kB / 473.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.5372, allocations: 460 kB / 474.3 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.538, allocations: 240.1 kB / 474.6 MB, free: 29.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.5394, allocations: 1.212 MB / 475.8 MB, free: 29.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.5399, allocations: 215.8 kB / 476 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.5403, allocations: 300.9 kB / 476.3 MB, free: 29.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.5407, allocations: 268.2 kB / 476.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.5407, allocations: 13.16 kB / 476.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.5411, allocations: 159.5 kB / 476.7 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.5412, allocations: 63.23 kB / 476.8 MB, free: 28.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.5413, allocations: 97.14 kB / 476.9 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.5417, allocations: 392.1 kB / 477.2 MB, free: 28.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5417, allocations: 2.688 kB / 477.2 MB, free: 28.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5417, allocations: 0 / 477.2 MB, free: 28.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.5417, allocations: 0.6562 kB / 477.2 MB, free: 28.7 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.0009684/0.5427, allocations: 0.6681 MB / 477.9 MB, free: 28.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5428, allocations: 9.75 kB / 477.9 MB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.543, allocations: 45.98 kB / 478 MB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.5436, allocations: 411.2 kB / 478.4 MB, free: 27.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5436, allocations: 19.28 kB / 478.4 MB, free: 27.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.5437, allocations: 24.62 kB / 478.4 MB, free: 27.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.5442, allocations: 303.4 kB / 478.7 MB, free: 27.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5443, allocations: 2.938 kB / 478.7 MB, free: 27.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.5443, allocations: 11.06 kB / 478.7 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5443, allocations: 6.406 kB / 478.7 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.5447, allocations: 201.5 kB / 478.9 MB, free: 27.56 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.001327/0.5461, allocations: 1.423 MB / 480.3 MB, free: 26.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.5465, allocations: 190.2 kB / 480.5 MB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5467, allocations: 87.17 kB / 480.6 MB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008876/0.5476, allocations: 0.775 MB / 481.4 MB, free: 25.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.5478, allocations: 130.9 kB / 481.5 MB, free: 25.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.5478, allocations: 3.844 kB / 481.5 MB, free: 25.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005969/0.5485, allocations: 243.8 kB / 481.8 MB, free: 25.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5485, allocations: 62.16 kB / 481.8 MB, free: 25.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.5488, allocations: 318.6 kB / 482.1 MB, free: 25.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5488, allocations: 35.69 kB / 482.2 MB, free: 25.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.549, allocations: 202.8 kB / 482.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.549, allocations: 49.78 kB / 482.4 MB, free: 24.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.549, allocations: 6.625 kB / 482.4 MB, free: 24.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.5491, allocations: 341.7 kB / 482.8 MB, free: 24.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.5493, allocations: 76.14 kB / 482.8 MB, free: 24.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.5495, allocations: 145 kB / 483 MB, free: 24.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.5497, allocations: 121.6 kB / 483.1 MB, free: 24.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5497, allocations: 3.094 kB / 483.1 MB, free: 24.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005625/0.5503, allocations: 313.3 kB / 483.4 MB, free: 24.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.5504, allocations: 35.11 kB / 483.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5504, allocations: 0 / 483.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.5504, allocations: 3.406 kB / 483.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.5506, allocations: 60.7 kB / 483.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.5507, allocations: 3.406 kB / 483.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.5509, allocations: 42.97 kB / 483.5 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.5509, allocations: 10.41 kB / 483.6 MB, free: 24.18 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.5511, allocations: 162 kB / 483.7 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.5512, allocations: 29.16 kB / 483.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.5516, allocations: 204.4 kB / 483.9 MB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5517, allocations: 0 / 483.9 MB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5517, allocations: 0 / 483.9 MB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000529/0.5522, allocations: 500 kB / 484.4 MB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.5527, allocations: 377.3 kB / 484.8 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5527, allocations: 2.5 kB / 484.8 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.5528, allocations: 42.12 kB / 484.8 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5529, allocations: 7.656 kB / 484.8 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5529, allocations: 3.562 kB / 484.9 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5529, allocations: 4.906 kB / 484.9 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5529, allocations: 0 / 484.9 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.5535, allocations: 303.1 kB / 485.2 MB, free: 23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.5537, allocations: 130.7 kB / 485.3 MB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.5537, allocations: 10.33 kB / 485.3 MB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.5539, allocations: 19.67 kB / 485.3 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.554, allocations: 17.34 kB / 485.3 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.554, allocations: 10.88 kB / 485.3 MB, free: 22.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.5543, allocations: 222.7 kB / 485.6 MB, free: 22.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5543, allocations: 0 / 485.6 MB, free: 22.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.5548, allocations: 121.7 kB / 485.7 MB, free: 22.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003415/0.5551, allocations: 161.9 kB / 485.8 MB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.5556, allocations: 240.6 kB / 486.1 MB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5556, allocations: 0 / 486.1 MB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.5558, allocations: 82.31 kB / 486.1 MB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/0.5567, allocations: 194.9 kB / 486.3 MB, free: 22.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5582, allocations: 0.9554 MB / 487.3 MB, free: 21.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.5584, allocations: 0.7884 MB / 488.1 MB, free: 21.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.5587, allocations: 54.58 kB / 488.1 MB, free: 21.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.5588, allocations: 32.45 kB / 488.2 MB, free: 21.13 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5588, allocations: 4 kB / 488.2 MB, free: 21.12 MB / 382.1 MB Notification: Performance of Templates: time 0.0136/0.5724, allocations: 6.188 MB / 494.4 MB, free: 20.61 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: