Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",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.002039/0.002039, allocations: 174.1 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.8367/0.8367, 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.605/1.605, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.001/0.001, allocations: 89.72 kB / 483.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.85e-05/4.875e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1919, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.689, allocations: 354.4 MB / 0.9866 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.689, allocations: 69.77 kB / 0.9867 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04828/1.737, allocations: 20.17 MB / 1.006 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/1.737, allocations: 0 / 1.006 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.737, allocations: 3.125 kB / 1.006 GB, free: 206.9 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.0007858/1.738, allocations: 480.8 kB / 1.007 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.738, allocations: 14.69 kB / 1.007 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/1.738, allocations: 44.86 kB / 1.007 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/1.738, allocations: 22.62 kB / 1.007 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/1.739, allocations: 216.3 kB / 1.007 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.739, allocations: 15.02 kB / 1.007 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/1.739, allocations: 22.22 kB / 1.007 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/1.739, allocations: 230.1 kB / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.739, allocations: 0 / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/1.739, allocations: 10.28 kB / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/1.739, allocations: 6.344 kB / 1.007 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/1.74, allocations: 427.4 kB / 1.008 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.741, allocations: 0.989 MB / 1.009 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/1.741, allocations: 160.8 kB / 1.009 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/1.741, allocations: 57.39 kB / 1.009 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.743, allocations: 1.927 MB / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/1.743, allocations: 41.77 kB / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/1.743, allocations: 0 / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003022/1.743, allocations: 108.5 kB / 1.011 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.743, allocations: 59.05 kB / 1.011 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/1.743, allocations: 151.7 kB / 1.011 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/1.743, allocations: 36.98 kB / 1.011 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/1.743, allocations: 141.2 kB / 1.011 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/1.743, allocations: 48.61 kB / 1.011 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/1.743, allocations: 7.625 kB / 1.011 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/1.743, allocations: 322.5 kB / 1.012 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/1.743, allocations: 34.8 kB / 1.012 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/1.744, allocations: 135.7 kB / 1.012 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/1.744, allocations: 62.97 kB / 1.012 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.744, allocations: 4 kB / 1.012 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002955/1.744, allocations: 196.9 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.744, allocations: 11.8 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.744, allocations: 8.328 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.744, allocations: 3.875 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.744, allocations: 66.56 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.744, allocations: 3.781 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.744, allocations: 30.78 kB / 1.012 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/1.744, allocations: 15.53 kB / 1.012 GB, free: 202.2 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 7.365e-05/1.744, allocations: 127.9 kB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/1.744, allocations: 15.53 kB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/1.745, allocations: 169.2 kB / 1.013 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.745, allocations: 7.859 kB / 1.013 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.745, allocations: 0 / 1.013 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.745, allocations: 0 / 1.013 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/1.745, allocations: 215.4 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.745, allocations: 0 / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/1.745, allocations: 30.83 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/1.745, allocations: 0 / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.745, allocations: 4 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.745, allocations: 3.688 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.745, allocations: 3.953 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/1.745, allocations: 221.5 kB / 1.013 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/1.746, allocations: 119.4 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/1.746, allocations: 3.688 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.746, allocations: 19.55 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/1.746, allocations: 11.84 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/1.746, allocations: 11.81 kB / 1.013 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.418e-05/1.746, allocations: 122.7 kB / 1.013 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/1.746, allocations: 0 / 1.013 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004375/1.746, allocations: 85.23 kB / 1.013 GB, free: 201.3 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.000626/1.747, allocations: 0.8331 MB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000208/1.747, allocations: 121.1 kB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.747, allocations: 0 / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.298e-05/1.747, allocations: 42.3 kB / 1.014 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/1.748, allocations: 55.48 kB / 1.014 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/1.748, allocations: 240.7 kB / 1.015 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/1.749, allocations: 0.7157 MB / 1.015 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001811/1.749, allocations: 53.06 kB / 1.015 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/1.749, allocations: 44.84 kB / 1.015 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/1.749, allocations: 3.938 kB / 1.015 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/1.768, allocations: 5.122 MB / 1.02 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/1.768, allocations: 132.3 kB / 1.021 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/3.61, allocations: 0 / 1.021 GB, free: 196.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)