Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.00177/0.00177, allocations: 175.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.8045/0.8045, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.594/1.594, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0008731/0.0008732, allocations: 88.14 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.76e-05, allocations: 2.5 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.808/2.004, allocations: 351.1 MB / 0.9834 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003827/2.004, allocations: 69.77 kB / 0.9835 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04795/2.052, allocations: 13.27 MB / 0.9964 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.694e-06/2.052, allocations: 0 / 0.9964 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.347e-06/2.052, allocations: 1.438 kB / 0.9964 GB, free: 208.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003529/2.053, allocations: 335.5 kB / 0.9967 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/2.053, allocations: 9.656 kB / 0.9967 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/2.053, allocations: 36.09 kB / 0.9968 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/2.053, allocations: 5.594 kB / 0.9968 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/2.053, allocations: 167 kB / 0.9969 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/2.053, allocations: 27.61 kB / 0.997 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/2.053, allocations: 4.641 kB / 0.997 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/2.053, allocations: 49.8 kB / 0.997 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/2.053, allocations: 0 / 0.997 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/2.053, allocations: 0 / 0.997 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/2.053, allocations: 1.781 kB / 0.997 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/2.053, allocations: 18.61 kB / 0.997 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/2.054, allocations: 336.5 kB / 0.9974 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/2.054, allocations: 17.33 kB / 0.9974 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/2.054, allocations: 10.02 kB / 0.9974 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/2.054, allocations: 84.62 kB / 0.9975 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/2.054, allocations: 39.97 kB / 0.9975 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/2.054, allocations: 0 / 0.9975 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001536/2.054, allocations: 34.78 kB / 0.9975 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/2.054, allocations: 51.41 kB / 0.9976 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/2.054, allocations: 98.31 kB / 0.9977 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/2.054, allocations: 25.7 kB / 0.9977 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/2.054, allocations: 85.39 kB / 0.9978 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-06/2.054, allocations: 0 / 0.9978 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/2.054, allocations: 5.062 kB / 0.9978 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/2.054, allocations: 318.1 kB / 0.9981 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/2.054, allocations: 4.156 kB / 0.9981 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/2.054, allocations: 20.22 kB / 0.9981 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/2.055, allocations: 4.25 kB / 0.9981 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/2.055, allocations: 0 / 0.9981 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.805e-05/2.055, allocations: 49.78 kB / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/2.055, allocations: 8.75 kB / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/2.055, allocations: 4.391 kB / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/2.055, allocations: 0 / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/2.055, allocations: 9.5 kB / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/2.055, allocations: 5.391 kB / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/2.055, allocations: 0 / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/2.055, allocations: 1.531 kB / 0.9982 GB, free: 206.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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.343e-05/2.055, allocations: 102.5 kB / 0.9983 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/2.055, allocations: 1.469 kB / 0.9983 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/2.055, allocations: 128 kB / 0.9984 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/2.055, allocations: 180.2 kB / 0.9986 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-05/2.055, allocations: 181 kB / 0.9988 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/2.055, allocations: 184.2 kB / 0.9989 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/2.055, allocations: 407.1 kB / 0.9993 GB, free: 205 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/2.055, allocations: 102.6 kB / 0.9994 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/2.056, allocations: 109.7 kB / 0.9995 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.433e-05/2.056, allocations: 176.3 kB / 0.9997 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/2.056, allocations: 185 kB / 0.9999 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.704e-05/2.056, allocations: 189.7 kB / 1 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-05/2.056, allocations: 180.3 kB / 1 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.914e-05/2.056, allocations: 311.6 kB / 1.001 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/2.056, allocations: 190.7 kB / 1.001 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/2.056, allocations: 177.9 kB / 1.001 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/2.056, allocations: 109.4 kB / 1.001 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/2.056, allocations: 188.7 kB / 1.001 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/2.056, allocations: 101 kB / 1.001 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.583e-05/2.056, allocations: 81.28 kB / 1.001 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/2.056, allocations: 0 / 1.001 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003553/2.057, allocations: 19.97 kB / 1.001 GB, free: 202.8 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0004234/2.057, allocations: 0.8477 MB / 1.002 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.983e-05/2.057, allocations: 10.44 kB / 1.002 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.057, allocations: 0 / 1.002 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/2.057, allocations: 3.938 kB / 1.002 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/2.057, allocations: 0.5224 MB / 1.003 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/2.058, allocations: 164.8 kB / 1.003 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/2.058, allocations: 0.681 MB / 1.004 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.839e-05/2.058, allocations: 7.641 kB / 1.004 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/2.058, allocations: 13.34 kB / 1.004 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/2.058, allocations: 0 / 1.004 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/2.073, allocations: 1.622 MB / 1.005 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/2.074, allocations: 159 kB / 1.005 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/3.752, allocations: 0 / 1.005 GB, free: 200.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)