Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001562/0.001562, allocations: 174.8 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.8845/0.8845, allocations: 133.4 MB / 146.7 MB, free: 10.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.74/1.74, allocations: 221.3 MB / 400.4 MB, free: 5.879 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.001045/0.001045, allocations: 103.2 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.552e-05/4.576e-05, allocations: 6.234 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1735, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.548, allocations: 351.1 MB / 0.9834 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.548, allocations: 72.45 kB / 0.9835 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03763/1.586, allocations: 13.27 MB / 0.9964 GB, free: 208 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/1.586, allocations: 0 / 0.9964 GB, free: 208 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.586, allocations: 1.875 kB / 0.9964 GB, free: 208 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.0003179/1.586, allocations: 340.3 kB / 0.9967 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.586, allocations: 7.938 kB / 0.9968 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/1.586, allocations: 32.28 kB / 0.9968 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/1.587, allocations: 5.656 kB / 0.9968 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.966e-05/1.587, allocations: 171 kB / 0.9969 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/1.587, allocations: 31.75 kB / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/1.587, allocations: 0 / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/1.587, allocations: 40.48 kB / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.587, allocations: 5.781 kB / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.587, allocations: 0 / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/1.587, allocations: 1.562 kB / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/1.587, allocations: 15.16 kB / 0.997 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/1.587, allocations: 336.1 kB / 0.9974 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/1.587, allocations: 16.52 kB / 0.9974 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/1.588, allocations: 6.328 kB / 0.9974 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.753e-05/1.588, allocations: 88.97 kB / 0.9975 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.588, allocations: 36.16 kB / 0.9975 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/1.588, allocations: 0 / 0.9975 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/1.588, allocations: 38.5 kB / 0.9975 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.588, allocations: 51.41 kB / 0.9976 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/1.588, allocations: 102.1 kB / 0.9977 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.588, allocations: 25.7 kB / 0.9977 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/1.588, allocations: 85.52 kB / 0.9978 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/1.588, allocations: 1.562 kB / 0.9978 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/1.588, allocations: 0 / 0.9978 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/1.588, allocations: 317.8 kB / 0.9981 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/1.588, allocations: 11.38 kB / 0.9981 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/1.588, allocations: 13.38 kB / 0.9981 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/1.588, allocations: 13.09 kB / 0.9981 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.588, allocations: 0 / 0.9981 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.179e-05/1.588, allocations: 44.72 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.588, allocations: 7.625 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.588, allocations: 6.859 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.588, allocations: 4.062 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/1.588, allocations: 9.062 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.588, allocations: 5.609 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/1.588, allocations: 3.625 kB / 0.9982 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.588, allocations: 3.094 kB / 0.9982 GB, free: 206.1 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 5.51e-05/1.589, allocations: 102.4 kB / 0.9983 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/1.589, allocations: 1.5 kB / 0.9983 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/1.589, allocations: 122.8 kB / 0.9984 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/1.589, allocations: 186.4 kB / 0.9986 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-05/1.589, allocations: 177.8 kB / 0.9988 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.314e-05/1.589, allocations: 185.8 kB / 0.999 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/1.589, allocations: 402.4 kB / 0.9993 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/1.589, allocations: 103.9 kB / 0.9994 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/1.589, allocations: 110.3 kB / 0.9995 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.298e-05/1.589, allocations: 177.8 kB / 0.9997 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/1.589, allocations: 183.8 kB / 0.9999 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/1.589, allocations: 185.2 kB / 1 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.421e-05/1.589, allocations: 177.8 kB / 1 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/1.589, allocations: 310 kB / 1.001 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/1.589, allocations: 192.3 kB / 1.001 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/1.589, allocations: 177.9 kB / 1.001 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/1.59, allocations: 107.7 kB / 1.001 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/1.59, allocations: 189 kB / 1.001 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.59, allocations: 101 kB / 1.001 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.605e-05/1.59, allocations: 85.66 kB / 1.001 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.59, allocations: 0 / 1.001 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002768/1.59, allocations: 18.48 kB / 1.001 GB, free: 202.7 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.0004058/1.59, allocations: 0.8487 MB / 1.002 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.182e-05/1.59, allocations: 10.25 kB / 1.002 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.59, allocations: 128 / 1.002 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/1.59, allocations: 9.656 kB / 1.002 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.591, allocations: 0.5163 MB / 1.003 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/1.591, allocations: 170.8 kB / 1.003 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/1.591, allocations: 0.6776 MB / 1.004 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.697e-05/1.591, allocations: 7.25 kB / 1.004 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/1.591, allocations: 9.125 kB / 1.004 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/1.591, allocations: 0 / 1.004 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/1.605, allocations: 1.635 MB / 1.005 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/1.606, allocations: 154.4 kB / 1.005 GB, free: 200 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/3.221, allocations: 0 / 1.005 GB, free: 200 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)