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-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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001497, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7494/0.7494, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009457, allocations: 91.7 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.259e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1909, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.432/1.623, allocations: 368.9 MB / 1.001 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.623, allocations: 84.64 kB / 1.001 GB, free: 253 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2053/1.828, allocations: 105.9 MB / 1.104 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.233e-06/1.828, allocations: 0 / 1.104 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.208e-05/1.829, allocations: 11.98 kB / 1.104 GB, free: 146.3 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.001188/1.83, allocations: 0.6702 MB / 1.105 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.83, allocations: 8.031 kB / 1.105 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/1.83, allocations: 58.53 kB / 1.105 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/1.83, allocations: 59.42 kB / 1.105 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/1.844, allocations: 6.812 MB / 1.112 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/1.844, allocations: 20.56 kB / 1.112 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.844, allocations: 32 kB / 1.112 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/1.845, allocations: 282.2 kB / 1.112 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.845, allocations: 0 / 1.112 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/1.845, allocations: 16 kB / 1.112 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/1.845, allocations: 8 kB / 1.112 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/1.845, allocations: 158.1 kB / 1.112 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/1.847, allocations: 1.505 MB / 1.114 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/1.847, allocations: 126.7 kB / 1.114 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/1.847, allocations: 44.86 kB / 1.114 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/1.848, allocations: 93.09 kB / 1.114 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/1.848, allocations: 116.3 kB / 1.114 GB, free: 136 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/1.848, allocations: 0 / 1.114 GB, free: 136 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.00036/1.848, allocations: 154.6 kB / 1.114 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.848, allocations: 55.41 kB / 1.114 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/1.849, allocations: 315.5 kB / 1.115 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.849, allocations: 33.7 kB / 1.115 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.849, allocations: 211.9 kB / 1.115 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/1.849, allocations: 55.28 kB / 1.115 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/1.849, allocations: 4 kB / 1.115 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/1.849, allocations: 342.8 kB / 1.115 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.803e-05/1.849, allocations: 56 kB / 1.115 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/1.849, allocations: 133.4 kB / 1.115 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/1.849, allocations: 97.67 kB / 1.115 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.849, allocations: 0 / 1.115 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004152/1.85, allocations: 285.1 kB / 1.116 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.85, allocations: 37.69 kB / 1.116 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.85, allocations: 4 kB / 1.116 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.85, allocations: 7.953 kB / 1.116 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.85, allocations: 55.91 kB / 1.116 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.85, allocations: 4 kB / 1.116 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/1.85, allocations: 43.73 kB / 1.116 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/1.85, allocations: 19.98 kB / 1.116 GB, free: 134 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.086e-05/1.851, allocations: 112.9 kB / 1.116 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/1.851, allocations: 39.56 kB / 1.116 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/1.851, allocations: 164.6 kB / 1.116 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.851, allocations: 7.953 kB / 1.116 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.851, allocations: 0 / 1.116 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002588/1.851, allocations: 454 kB / 1.117 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/1.852, allocations: 357.4 kB / 1.117 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.852, allocations: 0 / 1.117 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.852, allocations: 39.91 kB / 1.117 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/1.852, allocations: 0 / 1.117 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/1.852, allocations: 4 kB / 1.117 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.852, allocations: 0 / 1.117 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.852, allocations: 11.89 kB / 1.117 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/1.852, allocations: 241.6 kB / 1.117 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/1.852, allocations: 128.7 kB / 1.117 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/1.853, allocations: 4 kB / 1.117 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/1.853, allocations: 19.98 kB / 1.117 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/1.853, allocations: 19.97 kB / 1.117 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/1.853, allocations: 7.953 kB / 1.117 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002427/1.853, allocations: 246.2 kB / 1.118 GB, free: 132 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/1.853, allocations: 4 kB / 1.118 GB, free: 132 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005225/1.854, allocations: 143.7 kB / 1.118 GB, free: 131.9 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.0008894/1.855, allocations: 0.9097 MB / 1.119 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002984/1.855, allocations: 191.8 kB / 1.119 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.855, allocations: 8.062 kB / 1.119 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/1.855, allocations: 55.92 kB / 1.119 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009307/1.856, allocations: 188.5 kB / 1.119 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.857, allocations: 0.6504 MB / 1.12 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.857, allocations: 0.7962 MB / 1.121 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002973/1.858, allocations: 71.17 kB / 1.121 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/1.858, allocations: 119.3 kB / 1.121 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/1.858, allocations: 0 / 1.121 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/1.888, allocations: 10.8 MB / 1.131 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.888, allocations: 144.1 kB / 1.131 GB, free: 118 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/4.32, allocations: 0 / 1.131 GB, free: 118 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)