Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.008295/0.008294, allocations: 170.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8112/0.8112, allocations: 135.2 MB / 151 MB, free: 13.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.64/1.64, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001028/0.001028, allocations: 98.58 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.4994, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8613/1.361, allocations: 316.3 MB / 0.9585 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.361, allocations: 85.14 kB / 0.9585 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0228/1.384, allocations: 9.194 MB / 0.9675 GB, free: 424 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.886e-06/1.384, allocations: 7.938 kB / 0.9675 GB, free: 416 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.384, allocations: 0 / 0.9675 GB, free: 416 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.0005046/1.384, allocations: 339.4 kB / 0.9679 GB, free: 28 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.385, allocations: 8.031 kB / 0.9679 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/1.385, allocations: 34.5 kB / 0.9679 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/1.385, allocations: 7.906 kB / 0.9679 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.385, allocations: 175 kB / 0.9681 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/1.385, allocations: 25.7 kB / 0.9681 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/1.385, allocations: 7.922 kB / 0.9681 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/1.385, allocations: 45.56 kB / 0.9681 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.385, allocations: 0 / 0.9681 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.385, allocations: 0 / 0.9681 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.385, allocations: 0 / 0.9681 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/1.385, allocations: 15.92 kB / 0.9682 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/1.386, allocations: 0.5825 MB / 0.9687 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.69e-05/1.386, allocations: 22.56 kB / 0.9687 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/1.386, allocations: 344.3 kB / 0.9691 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/1.386, allocations: 34.56 kB / 0.9691 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.386, allocations: 0 / 0.9691 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001589/1.387, allocations: 45.12 kB / 0.9692 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.387, allocations: 51.41 kB / 0.9692 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.387, allocations: 104.8 kB / 0.9693 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/1.387, allocations: 25.7 kB / 0.9693 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/1.387, allocations: 88.03 kB / 0.9694 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/1.387, allocations: 3.906 kB / 0.9694 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/1.387, allocations: 0 / 0.9694 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.387, allocations: 314.8 kB / 0.9697 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/1.387, allocations: 8.062 kB / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/1.387, allocations: 17.7 kB / 0.9697 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.012e-05/1.387, allocations: 4 kB / 0.9697 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.387, allocations: 0 / 0.9697 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.199e-05/1.387, allocations: 49.5 kB / 0.9698 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.387, allocations: 8 kB / 0.9698 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.387, allocations: 0 / 0.9698 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.387, allocations: 4.062 kB / 0.9698 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/1.387, allocations: 8 kB / 0.9698 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.387, allocations: 7.922 kB / 0.9698 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/1.387, allocations: 4 kB / 0.9698 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/1.387, allocations: 3.953 kB / 0.9698 GB, free: 13.72 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 8.562e-05/1.387, allocations: 118.1 kB / 0.9699 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/1.387, allocations: 3.984 kB / 0.9699 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/1.388, allocations: 113 kB / 0.97 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.588e-05/1.388, allocations: 188.2 kB / 0.9702 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-05/1.388, allocations: 180.2 kB / 0.9704 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.119e-05/1.388, allocations: 184.2 kB / 0.9706 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/1.388, allocations: 409 kB / 0.971 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.856e-05/1.388, allocations: 105 kB / 0.9711 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/1.388, allocations: 108.9 kB / 0.9712 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.9e-05/1.388, allocations: 176.3 kB / 0.9713 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/1.388, allocations: 176.3 kB / 0.9715 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.949e-05/1.389, allocations: 196.1 kB / 0.9717 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.813e-05/1.389, allocations: 176.3 kB / 0.9719 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/1.389, allocations: 315 kB / 0.9722 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.389, allocations: 187.7 kB / 0.9723 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.389, allocations: 184.2 kB / 0.9725 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.389, allocations: 105 kB / 0.9726 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.389, allocations: 188.2 kB / 0.9728 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.797e-05/1.389, allocations: 101 kB / 0.9729 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.276e-05/1.389, allocations: 82.84 kB / 0.973 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/1.389, allocations: 0 / 0.973 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000308/1.39, allocations: 39.73 kB / 0.973 GB, free: 10.27 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.0006925/1.391, allocations: 0.8631 MB / 0.9739 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.446e-05/1.391, allocations: 4 kB / 0.9739 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.391, allocations: 8.125 kB / 0.9739 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.391, allocations: 0 / 0.9739 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/1.391, allocations: 0.5261 MB / 0.9744 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/1.392, allocations: 241.4 kB / 0.9746 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/1.392, allocations: 0.677 MB / 0.9753 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.702e-05/1.392, allocations: 6.25 kB / 0.9753 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/1.392, allocations: 11.42 kB / 0.9753 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/1.392, allocations: 0 / 0.9753 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/1.407, allocations: 1.871 MB / 0.9771 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/1.407, allocations: 224.1 kB / 0.9773 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/3.317, allocations: 3.938 kB / 0.9773 GB, free: 5.945 MB / 0.6198 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)