Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001576/0.001577, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7747/0.7747, allocations: 133.6 MB / 141.6 MB, free: 2.84 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.466/1.466, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001021/0.001021, allocations: 93.91 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.823e-05, allocations: 8 kB / 0.5535 GB, free: 9.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6237, allocations: 82.3 MB / 0.6338 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9877/1.611, allocations: 368.3 MB / 0.9934 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.612, allocations: 90.5 kB / 0.9935 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7939/2.406, allocations: 105.4 MB / 1.096 GB, free: 237 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/2.406, allocations: 2.656 kB / 1.096 GB, free: 237 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.43e-05/2.406, allocations: 11.72 kB / 1.096 GB, free: 237 MB / 0.6823 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.001423/2.407, allocations: 0.6613 MB / 1.097 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/2.407, allocations: 10.88 kB / 1.097 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/2.408, allocations: 47.91 kB / 1.097 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/2.423, allocations: 6.796 MB / 1.104 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/2.423, allocations: 10.23 kB / 1.104 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/2.423, allocations: 16.66 kB / 1.104 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003879/2.423, allocations: 134.9 kB / 1.104 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/2.424, allocations: 255 kB / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/2.424, allocations: 0 / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/2.424, allocations: 0 / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/2.424, allocations: 7.062 kB / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/2.426, allocations: 1.436 MB / 1.106 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/2.426, allocations: 126.8 kB / 1.106 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/2.426, allocations: 48.39 kB / 1.106 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/2.427, allocations: 96.02 kB / 1.106 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/2.427, allocations: 101.9 kB / 1.106 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/2.427, allocations: 2.656 kB / 1.106 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004348/2.427, allocations: 136.5 kB / 1.106 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/2.427, allocations: 60.31 kB / 1.106 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/2.428, allocations: 280.9 kB / 1.106 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/2.428, allocations: 28.95 kB / 1.106 GB, free: 232 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/2.428, allocations: 221.9 kB / 1.107 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/2.428, allocations: 50.64 kB / 1.107 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/2.428, allocations: 0 / 1.107 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/2.428, allocations: 342.6 kB / 1.107 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/2.428, allocations: 50.83 kB / 1.107 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/2.428, allocations: 121.8 kB / 1.107 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/2.429, allocations: 74.78 kB / 1.107 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.429, allocations: 0 / 1.107 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004375/2.429, allocations: 234.8 kB / 1.108 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/2.429, allocations: 33.3 kB / 1.108 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/2.429, allocations: 3.562 kB / 1.108 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/2.429, allocations: 3.406 kB / 1.108 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/2.429, allocations: 61.84 kB / 1.108 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/2.429, allocations: 14.3 kB / 1.108 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/2.43, allocations: 29.73 kB / 1.108 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/2.43, allocations: 15.33 kB / 1.108 GB, free: 231.1 MB / 0.6823 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 9.429e-05/2.43, allocations: 120.8 kB / 1.108 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/2.43, allocations: 30.22 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/2.43, allocations: 145.8 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/2.43, allocations: 0 / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/2.43, allocations: 2.969 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002632/2.43, allocations: 459.2 kB / 1.108 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/2.431, allocations: 315.3 kB / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/2.431, allocations: 0 / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/2.431, allocations: 36.77 kB / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/2.431, allocations: 0 / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/2.431, allocations: 0 / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/2.431, allocations: 6.797 kB / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.431, allocations: 3.531 kB / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/2.431, allocations: 227.1 kB / 1.109 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/2.432, allocations: 132.3 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/2.432, allocations: 3.312 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/2.432, allocations: 17.55 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/2.432, allocations: 15.78 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/2.432, allocations: 15.08 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002153/2.432, allocations: 217.9 kB / 1.109 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.432, allocations: 0 / 1.109 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005746/2.433, allocations: 132.4 kB / 1.109 GB, free: 229.6 MB / 0.6823 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.0004622/2.433, allocations: 241.7 kB / 1.11 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003012/2.434, allocations: 179.1 kB / 1.11 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.434, allocations: 0.625 kB / 1.11 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/2.434, allocations: 53.89 kB / 1.11 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/2.435, allocations: 182 kB / 1.11 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/2.436, allocations: 0.5393 MB / 1.111 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/2.436, allocations: 0.8008 MB / 1.111 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003187/2.436, allocations: 65.2 kB / 1.111 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/2.437, allocations: 30.61 kB / 1.112 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/2.437, allocations: 0 / 1.112 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.01208/2.449, allocations: 6.123 MB / 1.117 GB, free: 225.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)