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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001868, allocations: 180.9 kB / 7.65 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.8127/0.8127, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.653/1.653, allocations: 221.5 MB / 395.4 MB, free: 10.85 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.0008933/0.0008932, allocations: 105.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.297e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5608, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9386/1.5, allocations: 368.3 MB / 0.9935 GB, free: 432 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.5, allocations: 81.58 kB / 0.9936 GB, free: 392 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7502/2.25, allocations: 105.4 MB / 1.097 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/2.25, allocations: 0 / 1.097 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.402e-05/2.25, allocations: 14.47 kB / 1.097 GB, free: 236.8 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.00128/2.251, allocations: 0.6645 MB / 1.097 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/2.251, allocations: 10.88 kB / 1.097 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/2.252, allocations: 49.14 kB / 1.097 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/2.266, allocations: 6.796 MB / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/2.266, allocations: 10.59 kB / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/2.266, allocations: 14.44 kB / 1.104 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004046/2.266, allocations: 135.4 kB / 1.104 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/2.267, allocations: 249 kB / 1.104 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/2.267, allocations: 2.969 kB / 1.104 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/2.267, allocations: 0 / 1.104 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/2.267, allocations: 7.094 kB / 1.104 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/2.269, allocations: 1.436 MB / 1.106 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/2.269, allocations: 121.5 kB / 1.106 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/2.269, allocations: 54.55 kB / 1.106 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/2.269, allocations: 85.02 kB / 1.106 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/2.27, allocations: 104.9 kB / 1.106 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/2.27, allocations: 0 / 1.106 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003821/2.27, allocations: 153 kB / 1.106 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/2.27, allocations: 55.03 kB / 1.106 GB, free: 232 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/2.27, allocations: 275.3 kB / 1.107 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/2.27, allocations: 29.61 kB / 1.107 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/2.27, allocations: 214.7 kB / 1.107 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/2.271, allocations: 54.89 kB / 1.107 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/2.271, allocations: 2.812 kB / 1.107 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/2.271, allocations: 346.6 kB / 1.107 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/2.271, allocations: 47.88 kB / 1.107 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/2.271, allocations: 123.5 kB / 1.107 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/2.271, allocations: 73.14 kB / 1.107 GB, free: 231 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/2.271, allocations: 3.938 kB / 1.107 GB, free: 231 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004343/2.272, allocations: 238.1 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/2.272, allocations: 33.33 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/2.272, allocations: 3.562 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/2.272, allocations: 3.594 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/2.272, allocations: 62.58 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/2.272, allocations: 6.406 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/2.272, allocations: 29.58 kB / 1.108 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/2.272, allocations: 18.48 kB / 1.108 GB, free: 230.9 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 8.946e-05/2.272, allocations: 115 kB / 1.108 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002333/2.273, allocations: 144.2 kB / 1.108 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/2.273, allocations: 34.16 kB / 1.108 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/2.273, allocations: 154.4 kB / 1.108 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/2.273, allocations: 0 / 1.108 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/2.273, allocations: 6.672 kB / 1.108 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002296/2.273, allocations: 458 kB / 1.109 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/2.274, allocations: 301.2 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/2.274, allocations: 3.906 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/2.274, allocations: 36.23 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/2.274, allocations: 0 / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/2.274, allocations: 6.188 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/2.274, allocations: 3.984 kB / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.274, allocations: 0 / 1.109 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/2.274, allocations: 234.4 kB / 1.109 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/2.274, allocations: 127.7 kB / 1.109 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/2.274, allocations: 4 kB / 1.109 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/2.275, allocations: 21.89 kB / 1.109 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/2.275, allocations: 14.69 kB / 1.109 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/2.275, allocations: 15.27 kB / 1.109 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001961/2.275, allocations: 212.1 kB / 1.11 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/2.275, allocations: 320 / 1.11 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005091/2.275, allocations: 137.7 kB / 1.11 GB, free: 229.3 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.0008538/2.276, allocations: 0.8989 MB / 1.111 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002777/2.277, allocations: 188.1 kB / 1.111 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.277, allocations: 0 / 1.111 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/2.277, allocations: 52.86 kB / 1.111 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/2.278, allocations: 175.1 kB / 1.111 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/2.279, allocations: 0.6326 MB / 1.112 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/2.279, allocations: 0.7957 MB / 1.112 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002993/2.279, allocations: 57.7 kB / 1.112 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/2.28, allocations: 114.7 kB / 1.113 GB, free: 227 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/2.28, allocations: 0 / 1.113 GB, free: 227 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/2.309, allocations: 9.048 MB / 1.121 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.31, allocations: 128.2 kB / 1.122 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/4.622, allocations: 6.656 kB / 1.122 GB, free: 221.2 MB / 0.6823 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)