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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2961/0.2961, allocations: 54.33 MB / 66.89 MB, free: 6.102 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001505/0.001505, allocations: 184 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.874/1.874, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001826/0.001826, allocations: 104.6 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.395e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.171, allocations: 336.3 MB / 0.7874 GB, free: 42.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.171, allocations: 85.39 kB / 0.7875 GB, free: 42.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5217/1.693, allocations: 73.63 MB / 0.8594 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/1.693, allocations: 0 / 0.8594 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.33e-05/1.693, allocations: 10.94 kB / 0.8594 GB, free: 157.2 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001121/1.694, allocations: 0.6389 MB / 0.86 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.694, allocations: 13.09 kB / 0.86 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/1.695, allocations: 42.5 kB / 0.8601 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/1.709, allocations: 6.325 MB / 0.8663 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/1.709, allocations: 23.22 kB / 0.8663 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/1.709, allocations: 28.36 kB / 0.8663 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/1.71, allocations: 274.1 kB / 0.8666 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.71, allocations: 1.219 kB / 0.8666 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/1.71, allocations: 9.812 kB / 0.8666 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.71, allocations: 9.719 kB / 0.8666 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/1.71, allocations: 153.4 kB / 0.8667 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/1.712, allocations: 1.44 MB / 0.8681 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/1.712, allocations: 138.5 kB / 0.8683 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/1.712, allocations: 70.42 kB / 0.8683 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.713, allocations: 0.7895 MB / 0.8691 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/1.714, allocations: 104.9 kB / 0.8692 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 4.027e-06/1.714, allocations: 2.844 kB / 0.8692 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003684/1.714, allocations: 153.4 kB / 0.8694 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.714, allocations: 53.88 kB / 0.8694 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/1.714, allocations: 294.7 kB / 0.8697 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.714, allocations: 34.98 kB / 0.8697 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/1.715, allocations: 210.3 kB / 0.8699 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/1.715, allocations: 56.75 kB / 0.87 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.715, allocations: 4.281 kB / 0.87 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.715, allocations: 344.2 kB / 0.8703 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/1.715, allocations: 49.33 kB / 0.8704 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/1.715, allocations: 135 kB / 0.8705 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/1.715, allocations: 102.3 kB / 0.8706 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.715, allocations: 1.031 kB / 0.8706 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004273/1.716, allocations: 276.8 kB / 0.8708 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.716, allocations: 31.77 kB / 0.8709 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.716, allocations: 5.812 kB / 0.8709 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.716, allocations: 5.438 kB / 0.8709 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/1.716, allocations: 56.7 kB / 0.8709 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/1.716, allocations: 7.438 kB / 0.871 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/1.716, allocations: 39.05 kB / 0.871 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.716, allocations: 9.375 kB / 0.871 GB, free: 153.5 MB / 0.4948 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 8.156e-05/1.716, allocations: 120.5 kB / 0.8711 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.716, allocations: 36.02 kB / 0.8711 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/1.717, allocations: 158.9 kB / 0.8713 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.717, allocations: 5 kB / 0.8713 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.717, allocations: 2.156 kB / 0.8713 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003105/1.717, allocations: 458.1 kB / 0.8717 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/1.718, allocations: 378.5 kB / 0.8721 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.718, allocations: 1.219 kB / 0.8721 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/1.718, allocations: 35.58 kB / 0.8721 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.718, allocations: 7.234 kB / 0.8721 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.718, allocations: 8.859 kB / 0.8722 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.718, allocations: 5.531 kB / 0.8722 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.718, allocations: 1.156 kB / 0.8722 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/1.718, allocations: 267.8 kB / 0.8724 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/1.718, allocations: 127.7 kB / 0.8725 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/1.718, allocations: 5.656 kB / 0.8725 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.719, allocations: 19.05 kB / 0.8726 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/1.719, allocations: 19.09 kB / 0.8726 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/1.719, allocations: 8.031 kB / 0.8726 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002501/1.719, allocations: 237.5 kB / 0.8728 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.719, allocations: 0 / 0.8728 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004982/1.719, allocations: 133.4 kB / 0.8729 GB, free: 152.3 MB / 0.4948 GB 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) * 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.000392/1.72, allocations: 242 kB / 0.8732 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003166/1.72, allocations: 193.7 kB / 0.8734 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.72, allocations: 4.188 kB / 0.8734 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/1.72, allocations: 57.25 kB / 0.8734 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/1.721, allocations: 199.7 kB / 0.8736 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/1.722, allocations: 0.5372 MB / 0.8741 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.723, allocations: 0.7962 MB / 0.8749 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002377/1.723, allocations: 62.45 kB / 0.875 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/1.723, allocations: 36.31 kB / 0.875 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/1.723, allocations: 0 / 0.875 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.01219/1.735, allocations: 7.19 MB / 0.882 GB, free: 150.7 MB / 0.4948 GB 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)