Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 170.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8456/0.8456, allocations: 130.7 MB / 138.8 MB, free: 3.578 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.5 MB / 391.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 96.47 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.124e-05, allocations: 7.984 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5425, allocations: 81.57 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9509/1.493, allocations: 368 MB / 0.9875 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/1.494, allocations: 84.58 kB / 0.9876 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7865/2.28, allocations: 105.4 MB / 1.091 GB, free: 221.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.156e-06/2.28, allocations: 2.875 kB / 1.091 GB, free: 221.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.017e-05/2.281, allocations: 11.22 kB / 1.091 GB, free: 221.4 MB / 0.6667 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.001562/2.282, allocations: 0.6627 MB / 1.091 GB, free: 220.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/2.282, allocations: 10.5 kB / 1.091 GB, free: 220.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/2.283, allocations: 45.83 kB / 1.091 GB, free: 220.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/2.299, allocations: 6.801 MB / 1.098 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/2.299, allocations: 8.844 kB / 1.098 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/2.299, allocations: 14.34 kB / 1.098 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000488/2.3, allocations: 134.8 kB / 1.098 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/2.3, allocations: 254 kB / 1.098 GB, free: 216.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/2.3, allocations: 0 / 1.098 GB, free: 216.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/2.301, allocations: 0 / 1.098 GB, free: 216.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/2.301, allocations: 11.72 kB / 1.098 GB, free: 216.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/2.303, allocations: 1.432 MB / 1.1 GB, free: 215.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/2.304, allocations: 118.9 kB / 1.1 GB, free: 215.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/2.304, allocations: 48.36 kB / 1.1 GB, free: 215.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/2.304, allocations: 88.66 kB / 1.1 GB, free: 215 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/2.304, allocations: 109.9 kB / 1.1 GB, free: 214.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/2.304, allocations: 0 / 1.1 GB, free: 214.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0005882/2.305, allocations: 149 kB / 1.1 GB, free: 214.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/2.305, allocations: 59.56 kB / 1.1 GB, free: 214.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/2.305, allocations: 278.4 kB / 1.101 GB, free: 214.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/2.305, allocations: 33.64 kB / 1.101 GB, free: 214.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/2.305, allocations: 217.5 kB / 1.101 GB, free: 214.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/2.306, allocations: 49.77 kB / 1.101 GB, free: 214.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/2.306, allocations: 4 kB / 1.101 GB, free: 214.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001936/2.306, allocations: 341.6 kB / 1.101 GB, free: 214 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/2.306, allocations: 49.16 kB / 1.101 GB, free: 213.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/2.306, allocations: 114.6 kB / 1.101 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/2.306, allocations: 85.95 kB / 1.101 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/2.306, allocations: 0 / 1.101 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005402/2.307, allocations: 232.5 kB / 1.102 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/2.307, allocations: 37.61 kB / 1.102 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/2.307, allocations: 3.938 kB / 1.102 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/2.307, allocations: 7.969 kB / 1.102 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/2.307, allocations: 54.94 kB / 1.102 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/2.307, allocations: 8.172 kB / 1.102 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/2.308, allocations: 38.75 kB / 1.102 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/2.308, allocations: 15.59 kB / 1.102 GB, free: 213.6 MB / 0.6667 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 (29): * Single equations (assignments): 28 * 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.0001321/2.308, allocations: 112.8 kB / 1.102 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/2.308, allocations: 31.19 kB / 1.102 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/2.308, allocations: 142.3 kB / 1.102 GB, free: 213.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/2.308, allocations: 7.938 kB / 1.102 GB, free: 213.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/2.308, allocations: 0 / 1.102 GB, free: 213.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000307/2.309, allocations: 454.7 kB / 1.102 GB, free: 212.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/2.309, allocations: 319.6 kB / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.309, allocations: 0 / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/2.309, allocations: 27.42 kB / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/2.309, allocations: 3.844 kB / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/2.309, allocations: 3.984 kB / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/2.309, allocations: 3.938 kB / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.309, allocations: 4 kB / 1.103 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/2.31, allocations: 228 kB / 1.103 GB, free: 212.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/2.31, allocations: 132.4 kB / 1.103 GB, free: 212.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/2.31, allocations: 2.938 kB / 1.103 GB, free: 212.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/2.31, allocations: 15.08 kB / 1.103 GB, free: 212.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.311, allocations: 23.59 kB / 1.103 GB, free: 212.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/2.311, allocations: 7.797 kB / 1.103 GB, free: 212.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002544/2.311, allocations: 215.7 kB / 1.103 GB, free: 212.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/2.311, allocations: 0 / 1.103 GB, free: 212.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000671/2.312, allocations: 133.3 kB / 1.104 GB, free: 212.1 MB / 0.6667 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) * 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 (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.0006017/2.312, allocations: 248.1 kB / 1.104 GB, free: 211.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003637/2.313, allocations: 184.2 kB / 1.104 GB, free: 211.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/2.313, allocations: 4.609 kB / 1.104 GB, free: 211.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/2.313, allocations: 52.44 kB / 1.104 GB, free: 211.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/2.314, allocations: 173.9 kB / 1.104 GB, free: 211.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/2.315, allocations: 0.5345 MB / 1.105 GB, free: 211.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/2.316, allocations: 0.7935 MB / 1.105 GB, free: 210.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003586/2.316, allocations: 66.25 kB / 1.106 GB, free: 210.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/2.316, allocations: 38.45 kB / 1.106 GB, free: 210.5 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/2.316, allocations: 0 / 1.106 GB, free: 210.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.01298/2.329, allocations: 6.125 MB / 1.112 GB, free: 205 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)