Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.008387/0.008387, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7835/0.7835, allocations: 135.2 MB / 151 MB, free: 13.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.615/1.615, allocations: 223.2 MB / 406.8 MB, free: 3.133 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.0009749/0.0009747, allocations: 92.83 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004021, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.552, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.562, allocations: 316.3 MB / 0.9585 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/1.562, allocations: 83.45 kB / 0.9585 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02254/1.585, allocations: 9.199 MB / 0.9675 GB, free: 452 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.975e-06/1.585, allocations: 0 / 0.9675 GB, free: 452 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.585, allocations: 0 / 0.9675 GB, free: 452 kB / 0.6042 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.0004447/1.585, allocations: 351.2 kB / 0.9679 GB, free: 56 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.585, allocations: 16.02 kB / 0.9679 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/1.585, allocations: 30.56 kB / 0.9679 GB, free: 0 / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/1.586, allocations: 4.031 kB / 0.9679 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.586, allocations: 175 kB / 0.9681 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/1.586, allocations: 25.7 kB / 0.9681 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/1.586, allocations: 0 / 0.9681 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/1.586, allocations: 45.17 kB / 0.9681 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.586, allocations: 3.938 kB / 0.9681 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.586, allocations: 4 kB / 0.9681 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.586, allocations: 0 / 0.9681 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/1.586, allocations: 19.55 kB / 0.9682 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/1.587, allocations: 0.582 MB / 0.9687 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/1.587, allocations: 14.58 kB / 0.9687 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/1.587, allocations: 351.1 kB / 0.9691 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.587, allocations: 30.56 kB / 0.9691 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.587, allocations: 0 / 0.9691 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001719/1.588, allocations: 41.64 kB / 0.9692 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.588, allocations: 54.78 kB / 0.9692 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/1.588, allocations: 100.9 kB / 0.9693 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/1.588, allocations: 25.7 kB / 0.9693 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/1.588, allocations: 91.3 kB / 0.9694 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/1.588, allocations: 7.891 kB / 0.9694 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.588, allocations: 0 / 0.9694 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.588, allocations: 310.8 kB / 0.9697 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/1.588, allocations: 15.55 kB / 0.9697 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/1.588, allocations: 13.72 kB / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/1.588, allocations: 4 kB / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.588, allocations: 0 / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.557e-05/1.588, allocations: 48.94 kB / 0.9698 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.588, allocations: 4 kB / 0.9698 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.588, allocations: 4 kB / 0.9698 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.588, allocations: 64 / 0.9698 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/1.588, allocations: 11.38 kB / 0.9698 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.588, allocations: 3.938 kB / 0.9698 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/1.588, allocations: 3.984 kB / 0.9698 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.588, allocations: 7.953 kB / 0.9698 GB, free: 13.75 MB / 0.6198 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 () * Number of clocked 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 9.273e-05/1.588, allocations: 109.8 kB / 0.9699 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/1.588, allocations: 4 kB / 0.9699 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/1.589, allocations: 116.5 kB / 0.97 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/1.589, allocations: 184.2 kB / 0.9702 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.003e-05/1.589, allocations: 180.2 kB / 0.9704 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.978e-05/1.589, allocations: 176.5 kB / 0.9706 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/1.589, allocations: 412.5 kB / 0.971 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/1.589, allocations: 101 kB / 0.9711 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/1.589, allocations: 109 kB / 0.9712 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.918e-05/1.589, allocations: 183.5 kB / 0.9713 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/1.589, allocations: 188.3 kB / 0.9715 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.618e-05/1.589, allocations: 184.2 kB / 0.9717 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-05/1.59, allocations: 180.3 kB / 0.9719 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/1.59, allocations: 323 kB / 0.9722 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.59, allocations: 179.8 kB / 0.9723 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.59, allocations: 183.6 kB / 0.9725 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/1.59, allocations: 109 kB / 0.9726 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.59, allocations: 184.2 kB / 0.9728 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/1.59, allocations: 105 kB / 0.9729 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.35e-05/1.59, allocations: 86.83 kB / 0.973 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/1.59, allocations: 0 / 0.973 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003369/1.591, allocations: 31.94 kB / 0.973 GB, free: 10.29 MB / 0.6198 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 () * Number of clocked 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.0008565/1.592, allocations: 0.8646 MB / 0.9739 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/1.592, allocations: 7.984 kB / 0.9739 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.592, allocations: 4.125 kB / 0.9739 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.592, allocations: 0 / 0.9739 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/1.592, allocations: 0.5225 MB / 0.9744 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/1.593, allocations: 241.4 kB / 0.9746 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/1.593, allocations: 0.677 MB / 0.9753 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.2e-05/1.593, allocations: 7.984 kB / 0.9753 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/1.593, allocations: 10.94 kB / 0.9753 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of SimCode: time 5.56e-06/1.593, allocations: 0 / 0.9753 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/1.609, allocations: 1.871 MB / 0.9771 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.609, allocations: 220.7 kB / 0.9773 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/3.407, allocations: 0 / 0.9773 GB, free: 5.984 MB / 0.6198 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)