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.002015/0.002016, allocations: 174.6 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.8023/0.8023, 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.602/1.602, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.001076/0.001076, allocations: 107.8 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.152e-05, allocations: 3.469 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.692, allocations: 368.9 MB / 1.001 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.693, allocations: 81.73 kB / 1.001 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2026/1.895, allocations: 105.9 MB / 1.104 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/1.895, allocations: 0 / 1.104 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.397e-05/1.895, allocations: 11.94 kB / 1.104 GB, free: 131.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.001271/1.897, allocations: 0.6684 MB / 1.105 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.897, allocations: 8.031 kB / 1.105 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/1.897, allocations: 62.53 kB / 1.105 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/1.897, allocations: 51.48 kB / 1.105 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.911, allocations: 6.819 MB / 1.112 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.911, allocations: 16.56 kB / 1.112 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/1.911, allocations: 32 kB / 1.112 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/1.911, allocations: 282.2 kB / 1.112 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.912, allocations: 0 / 1.112 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/1.912, allocations: 12 kB / 1.112 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/1.912, allocations: 8 kB / 1.112 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/1.912, allocations: 166.1 kB / 1.112 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/1.914, allocations: 1.501 MB / 1.114 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/1.914, allocations: 126.7 kB / 1.114 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/1.914, allocations: 52.84 kB / 1.114 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/1.915, allocations: 85.11 kB / 1.114 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/1.915, allocations: 116.2 kB / 1.114 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/1.915, allocations: 0 / 1.114 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000387/1.915, allocations: 158 kB / 1.114 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.915, allocations: 59.41 kB / 1.114 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/1.916, allocations: 307.5 kB / 1.115 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/1.916, allocations: 33.7 kB / 1.115 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.916, allocations: 211.9 kB / 1.115 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/1.916, allocations: 55.28 kB / 1.115 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/1.916, allocations: 4 kB / 1.115 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/1.916, allocations: 338.8 kB / 1.115 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/1.916, allocations: 59.98 kB / 1.115 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.916, allocations: 133.4 kB / 1.115 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/1.916, allocations: 99.91 kB / 1.115 GB, free: 120 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.916, allocations: 0 / 1.115 GB, free: 120 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004582/1.917, allocations: 290.8 kB / 1.116 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/1.917, allocations: 29.7 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.917, allocations: 4 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.917, allocations: 7.953 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/1.917, allocations: 55.91 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.917, allocations: 7.984 kB / 1.116 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/1.918, allocations: 47.7 kB / 1.116 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/1.918, allocations: 12 kB / 1.116 GB, free: 119.5 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 0.0001128/1.918, allocations: 116.9 kB / 1.116 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/1.918, allocations: 31.62 kB / 1.116 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/1.918, allocations: 173.5 kB / 1.116 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.918, allocations: 3.953 kB / 1.116 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.918, allocations: 0 / 1.116 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002699/1.918, allocations: 454.2 kB / 1.117 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/1.919, allocations: 357.4 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.919, allocations: 0 / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.919, allocations: 43.84 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/1.919, allocations: 0 / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.919, allocations: 4 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.919, allocations: 4 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.919, allocations: 3.953 kB / 1.117 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/1.92, allocations: 241.6 kB / 1.117 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/1.92, allocations: 128.7 kB / 1.117 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/1.92, allocations: 8 kB / 1.117 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/1.92, allocations: 11.98 kB / 1.117 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/1.92, allocations: 19.97 kB / 1.117 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/1.92, allocations: 15.94 kB / 1.117 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002559/1.92, allocations: 238.2 kB / 1.118 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/1.92, allocations: 8 kB / 1.118 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000568/1.921, allocations: 139.7 kB / 1.118 GB, free: 117.4 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.0009188/1.922, allocations: 0.915 MB / 1.119 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002963/1.922, allocations: 195.7 kB / 1.119 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.922, allocations: 4.188 kB / 1.119 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/1.922, allocations: 55.92 kB / 1.119 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/1.923, allocations: 186.5 kB / 1.119 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.925, allocations: 0.6566 MB / 1.12 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.925, allocations: 0.8001 MB / 1.121 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003157/1.925, allocations: 67.23 kB / 1.121 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.925, allocations: 119.3 kB / 1.121 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/1.926, allocations: 0 / 1.121 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/1.955, allocations: 10.81 MB / 1.131 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.955, allocations: 144.6 kB / 1.131 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/4.441, allocations: 0 / 1.131 GB, free: 103.4 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)