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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 92.08 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.001199/0.001199, 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 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9113/0.9113, allocations: 135.3 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003742, allocations: 8.219 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 82.32 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01304/0.1685, allocations: 13.19 MB / 0.6003 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004499/0.173, allocations: 3.389 MB / 0.6037 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.1734, allocations: 19.88 kB / 0.6037 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.1739, allocations: 155 kB / 0.6038 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1749, allocations: 493.5 kB / 0.6043 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.1756, allocations: 293.6 kB / 0.6046 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1771, allocations: 1.243 MB / 0.6058 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2794/0.4566, allocations: 234.4 kB / 0.606 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006601/0.4573, allocations: 320.9 kB / 0.6063 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.4576, allocations: 282.2 kB / 0.6066 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.4577, allocations: 13.72 kB / 0.6066 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.4581, allocations: 149.2 kB / 0.6067 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.4582, allocations: 68.44 kB / 0.6068 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.4583, allocations: 105.3 kB / 0.6069 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.4587, allocations: 431.2 kB / 0.6073 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4587, allocations: 0 / 0.6073 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4587, allocations: 0.9688 kB / 0.6073 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4588, allocations: 0 / 0.6073 GB, free: 35.16 MB / 0.4981 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.0008605/0.4596, allocations: 0.6794 MB / 0.608 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4597, allocations: 12.3 kB / 0.608 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.4597, allocations: 66.7 kB / 0.6081 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.4599, allocations: 45.91 kB / 0.6081 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.4605, allocations: 462.3 kB / 0.6085 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4605, allocations: 21.06 kB / 0.6086 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.4606, allocations: 29.92 kB / 0.6086 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.461, allocations: 311.6 kB / 0.6089 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4611, allocations: 3.906 kB / 0.6089 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.4611, allocations: 12.22 kB / 0.6089 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4611, allocations: 8.125 kB / 0.6089 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.4616, allocations: 204.7 kB / 0.6091 GB, free: 34.29 MB / 0.4981 GB 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.001323/0.4629, allocations: 1.49 MB / 0.6106 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.4633, allocations: 165.2 kB / 0.6107 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4634, allocations: 76.31 kB / 0.6108 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.4636, allocations: 86.81 kB / 0.6109 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.4638, allocations: 124.7 kB / 0.611 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.4639, allocations: 7.312 kB / 0.611 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005124/0.4644, allocations: 249.3 kB / 0.6112 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.4644, allocations: 69.11 kB / 0.6113 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4647, allocations: 336.7 kB / 0.6116 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4647, allocations: 32.28 kB / 0.6117 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4648, allocations: 219 kB / 0.6119 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4649, allocations: 56.77 kB / 0.6119 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.4649, allocations: 3.5 kB / 0.6119 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.465, allocations: 346.6 kB / 0.6123 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4651, allocations: 74.61 kB / 0.6123 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.4653, allocations: 147.2 kB / 0.6125 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4655, allocations: 119.7 kB / 0.6126 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4655, allocations: 4 kB / 0.6126 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005186/0.466, allocations: 322.7 kB / 0.6129 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4661, allocations: 32.2 kB / 0.6129 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4661, allocations: 2.969 kB / 0.6129 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4661, allocations: 5.812 kB / 0.6129 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4663, allocations: 62.48 kB / 0.613 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4663, allocations: 7.297 kB / 0.613 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4666, allocations: 45.56 kB / 0.613 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.4666, allocations: 12.19 kB / 0.613 GB, free: 32.14 MB / 0.4981 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 () * Number of clocked 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.0001374/0.4667, allocations: 160 kB / 0.6132 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.4668, allocations: 33.44 kB / 0.6132 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.4672, allocations: 204.6 kB / 0.6134 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4672, allocations: 0 / 0.6134 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4672, allocations: 0 / 0.6134 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003649/0.4676, allocations: 497 kB / 0.6139 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.468, allocations: 358.4 kB / 0.6142 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.468, allocations: 0.8125 kB / 0.6142 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4682, allocations: 31.73 kB / 0.6143 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4682, allocations: 3.031 kB / 0.6143 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4682, allocations: 6.547 kB / 0.6143 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4682, allocations: 0 / 0.6143 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4682, allocations: 6.438 kB / 0.6143 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.4687, allocations: 311 kB / 0.6146 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.4688, allocations: 128.1 kB / 0.6147 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.4689, allocations: 6.094 kB / 0.6147 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4691, allocations: 22.97 kB / 0.6147 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.4691, allocations: 18.69 kB / 0.6148 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.4692, allocations: 9.672 kB / 0.6148 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001901/0.4694, allocations: 236.2 kB / 0.615 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4694, allocations: 0 / 0.615 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003742/0.4698, allocations: 118.5 kB / 0.6151 GB, free: 31.03 MB / 0.4981 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) * Number of clocked states: 0 () * 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.0008223/0.4706, allocations: 0.9032 MB / 0.616 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.471, allocations: 235.9 kB / 0.6162 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.471, allocations: 5.312 kB / 0.6162 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.4712, allocations: 78.3 kB / 0.6163 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.472, allocations: 192.4 kB / 0.6165 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.4748, allocations: 2.138 MB / 0.6186 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.475, allocations: 0.7911 MB / 0.6193 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.4753, allocations: 66.77 kB / 0.6194 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4755, allocations: 116.1 kB / 0.6195 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4755, allocations: 4 kB / 0.6195 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.495, allocations: 9.655 MB / 0.6289 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/0.4952, allocations: 175.1 kB / 0.6291 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.422, allocations: 0 / 0.6291 GB, free: 27.73 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: