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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2874/0.2874, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001231/0.001231, allocations: 182.4 kB / 75.38 MB, free: 1.531 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.639/1.639, allocations: 194.2 MB / 283.2 MB, free: 3.512 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001846/0.001847, allocations: 117.8 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.267e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1569, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.186, allocations: 335.5 MB / 0.7794 GB, free: 56.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/1.187, allocations: 84.7 kB / 0.7795 GB, free: 56.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.4718/1.658, allocations: 73.45 MB / 0.8512 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.377e-05/1.659, allocations: 9.969 kB / 0.8512 GB, free: 156.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.001236/1.66, allocations: 0.6461 MB / 0.8519 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/1.66, allocations: 11.09 kB / 0.8519 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/1.66, allocations: 53.31 kB / 0.8519 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/1.675, allocations: 6.353 MB / 0.8581 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/1.675, allocations: 7.688 kB / 0.8581 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.675, allocations: 14.78 kB / 0.8581 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004366/1.676, allocations: 134.8 kB / 0.8583 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/1.676, allocations: 240.3 kB / 0.8585 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.676, allocations: 6.906 kB / 0.8585 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/1.676, allocations: 0 / 0.8585 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/1.676, allocations: 7.781 kB / 0.8585 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/1.678, allocations: 1.372 MB / 0.8599 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/1.679, allocations: 98.56 kB / 0.86 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.679, allocations: 64.75 kB / 0.86 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/1.68, allocations: 0.7718 MB / 0.8608 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/1.68, allocations: 91.48 kB / 0.8609 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/1.68, allocations: 3.125 kB / 0.8609 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0005193/1.681, allocations: 141.3 kB / 0.861 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.681, allocations: 54.72 kB / 0.861 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/1.681, allocations: 269 kB / 0.8613 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.681, allocations: 29.31 kB / 0.8613 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.682, allocations: 178 kB / 0.8615 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/1.682, allocations: 47.48 kB / 0.8615 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/1.682, allocations: 2.781 kB / 0.8615 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.682, allocations: 338.9 kB / 0.8619 GB, free: 153 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/1.682, allocations: 48.91 kB / 0.8619 GB, free: 153 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/1.682, allocations: 116 kB / 0.862 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/1.682, allocations: 83.55 kB / 0.8621 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.682, allocations: 3.938 kB / 0.8621 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004756/1.683, allocations: 218.8 kB / 0.8623 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.683, allocations: 7.719 kB / 0.8623 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.683, allocations: 0 / 0.8623 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.683, allocations: 3.781 kB / 0.8623 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.683, allocations: 58.19 kB / 0.8624 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/1.683, allocations: 9.969 kB / 0.8624 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/1.684, allocations: 36.12 kB / 0.8624 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.684, allocations: 15.22 kB / 0.8624 GB, free: 152.9 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 0.0001172/1.684, allocations: 113.7 kB / 0.8626 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/1.684, allocations: 27.16 kB / 0.8626 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/1.684, allocations: 147 kB / 0.8627 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/1.684, allocations: 3.5 kB / 0.8627 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.684, allocations: 3.094 kB / 0.8627 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003045/1.685, allocations: 441.8 kB / 0.8631 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/1.685, allocations: 337.6 kB / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.685, allocations: 3.625 kB / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/1.685, allocations: 38.8 kB / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/1.685, allocations: 3.938 kB / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.685, allocations: 3.062 kB / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.685, allocations: 0 / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.685, allocations: 3.938 kB / 0.8635 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004602/1.686, allocations: 245.7 kB / 0.8638 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/1.686, allocations: 136.3 kB / 0.8639 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/1.686, allocations: 3.875 kB / 0.8639 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.686, allocations: 15.67 kB / 0.8639 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/1.686, allocations: 19.81 kB / 0.8639 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.686, allocations: 10.59 kB / 0.8639 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002262/1.687, allocations: 202.7 kB / 0.8641 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005972/1.687, allocations: 131 kB / 0.8642 GB, free: 151.8 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.0005097/1.688, allocations: 249.1 kB / 0.8645 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003384/1.688, allocations: 158.1 kB / 0.8646 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.688, allocations: 2.906 kB / 0.8646 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/1.688, allocations: 54.31 kB / 0.8647 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/1.689, allocations: 168.4 kB / 0.8649 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.691, allocations: 0.5197 MB / 0.8654 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/1.691, allocations: 0.823 MB / 0.8662 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/1.691, allocations: 0 / 0.8662 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.01234/1.703, allocations: 6.145 MB / 0.8722 GB, free: 150.6 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)