Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.001379/0.001379, allocations: 175.2 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.7294/0.7294, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.655/1.655, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.001083/0.001083, allocations: 90.02 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.882e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 82.31 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.486/1.682, allocations: 400.5 MB / 1.032 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.683, allocations: 75.67 kB / 1.032 GB, free: 196 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05934/1.742, allocations: 25.91 MB / 1.057 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.705e-06/1.742, allocations: 0 / 1.057 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.02e-05/1.742, allocations: 4 kB / 1.057 GB, free: 174.4 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001034/1.743, allocations: 0.49 MB / 1.057 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.743, allocations: 8.031 kB / 1.057 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/1.743, allocations: 49.61 kB / 1.057 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/1.744, allocations: 31.67 kB / 1.058 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/1.744, allocations: 205.6 kB / 1.058 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.744, allocations: 11.52 kB / 1.058 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/1.744, allocations: 15.94 kB / 1.058 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/1.744, allocations: 238.7 kB / 1.058 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.744, allocations: 4 kB / 1.058 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/1.744, allocations: 11.36 kB / 1.058 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/1.744, allocations: 8 kB / 1.058 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/1.745, allocations: 424.5 kB / 1.058 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.746, allocations: 1.039 MB / 1.059 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/1.746, allocations: 163.8 kB / 1.06 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/1.746, allocations: 58.7 kB / 1.06 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.748, allocations: 1.929 MB / 1.062 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.748, allocations: 49.81 kB / 1.062 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.015e-06/1.748, allocations: 7.984 kB / 1.062 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0002926/1.748, allocations: 112 kB / 1.062 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/1.748, allocations: 55.41 kB / 1.062 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.748, allocations: 143 kB / 1.062 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/1.748, allocations: 33.27 kB / 1.062 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/1.748, allocations: 142.5 kB / 1.062 GB, free: 169 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/1.748, allocations: 58.38 kB / 1.062 GB, free: 169 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/1.748, allocations: 3.562 kB / 1.062 GB, free: 169 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/1.748, allocations: 326.8 kB / 1.062 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/1.748, allocations: 31.5 kB / 1.062 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/1.749, allocations: 136.2 kB / 1.063 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/1.749, allocations: 61.56 kB / 1.063 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.749, allocations: 4 kB / 1.063 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002923/1.749, allocations: 209.4 kB / 1.063 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.749, allocations: 7.938 kB / 1.063 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.749, allocations: 7.938 kB / 1.063 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.749, allocations: 11.95 kB / 1.063 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.749, allocations: 59.78 kB / 1.063 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.749, allocations: 4 kB / 1.063 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.749, allocations: 31.31 kB / 1.063 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/1.749, allocations: 16.17 kB / 1.063 GB, free: 168.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * 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 6.72e-05/1.749, allocations: 124.8 kB / 1.063 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/1.749, allocations: 11.91 kB / 1.063 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/1.75, allocations: 153.9 kB / 1.063 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.75, allocations: 3.953 kB / 1.063 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.75, allocations: 0 / 1.063 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.75, allocations: 0 / 1.063 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.75, allocations: 223.4 kB / 1.063 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.75, allocations: 0 / 1.063 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/1.75, allocations: 35.92 kB / 1.063 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.75, allocations: 4 kB / 1.063 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/1.75, allocations: 0 / 1.063 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/1.75, allocations: 0 / 1.063 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.75, allocations: 7.938 kB / 1.063 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/1.75, allocations: 205.1 kB / 1.064 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/1.751, allocations: 119.5 kB / 1.064 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.751, allocations: 3.984 kB / 1.064 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/1.751, allocations: 23.67 kB / 1.064 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/1.751, allocations: 11.98 kB / 1.064 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/1.751, allocations: 7.953 kB / 1.064 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.028e-05/1.751, allocations: 122.4 kB / 1.064 GB, free: 167 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.751, allocations: 0 / 1.064 GB, free: 167 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004349/1.751, allocations: 86.53 kB / 1.064 GB, free: 167 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007168/1.752, allocations: 0.8836 MB / 1.065 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002091/1.752, allocations: 106.5 kB / 1.065 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.752, allocations: 3.875 kB / 1.065 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/1.752, allocations: 43.23 kB / 1.065 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/1.753, allocations: 41.48 kB / 1.065 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/1.753, allocations: 253.9 kB / 1.065 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/1.754, allocations: 0.7208 MB / 1.066 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001823/1.754, allocations: 49.81 kB / 1.066 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/1.754, allocations: 41.11 kB / 1.066 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/1.754, allocations: 0 / 1.066 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/1.774, allocations: 5.436 MB / 1.071 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.774, allocations: 149 kB / 1.072 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/3.502, allocations: 4.062 kB / 1.072 GB, free: 159.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)