Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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.001097/0.001097, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5141/0.5141, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.5 MB / 343.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 87.89 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.051e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1919, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.301, allocations: 304.4 MB / 0.8508 GB, free: 196.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.301, allocations: 79.95 kB / 0.8509 GB, free: 196.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01795/1.319, allocations: 9.101 MB / 0.8598 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.754e-06/1.319, allocations: 0 / 0.8598 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.319, allocations: 0 / 0.8598 GB, free: 187.1 MB / 0.5886 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.0003157/1.32, allocations: 351.1 kB / 0.8601 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.32, allocations: 8.031 kB / 0.8602 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/1.32, allocations: 15.86 kB / 0.8602 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/1.32, allocations: 159.1 kB / 0.8603 GB, free: 186.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/1.32, allocations: 26.45 kB / 0.8603 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.32, allocations: 7.938 kB / 0.8604 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.682e-05/1.32, allocations: 15.98 kB / 0.8604 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.602e-05/1.32, allocations: 33.69 kB / 0.8604 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.32, allocations: 4 kB / 0.8604 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.32, allocations: 4 kB / 0.8604 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/1.32, allocations: 3.953 kB / 0.8604 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/1.321, allocations: 0.5722 MB / 0.861 GB, free: 185.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.037e-05/1.321, allocations: 18.52 kB / 0.861 GB, free: 185.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/1.321, allocations: 8.797 kB / 0.861 GB, free: 185.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/1.321, allocations: 368.5 kB / 0.8613 GB, free: 185.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.321, allocations: 30.56 kB / 0.8614 GB, free: 185.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.321, allocations: 0 / 0.8614 GB, free: 185.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002363/1.321, allocations: 41.64 kB / 0.8614 GB, free: 185.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/1.321, allocations: 51.41 kB / 0.8615 GB, free: 185.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/1.321, allocations: 97 kB / 0.8616 GB, free: 184.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/1.321, allocations: 25.7 kB / 0.8616 GB, free: 184.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/1.322, allocations: 99.94 kB / 0.8617 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-06/1.322, allocations: 3.906 kB / 0.8617 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.322, allocations: 0 / 0.8617 GB, free: 184.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.616e-05/1.322, allocations: 318.8 kB / 0.862 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/1.322, allocations: 0 / 0.862 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/1.322, allocations: 17.66 kB / 0.862 GB, free: 184.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.322, allocations: 23.97 kB / 0.862 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.322, allocations: 4 kB / 0.862 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001569/1.322, allocations: 53.69 kB / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.322, allocations: 4 kB / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.322, allocations: 3.984 kB / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/1.322, allocations: 4 kB / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/1.322, allocations: 4 kB / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.322, allocations: 7.891 kB / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/1.322, allocations: 0 / 0.8621 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.322, allocations: 4.062 kB / 0.8621 GB, free: 184.4 MB / 0.5886 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 4.781e-05/1.322, allocations: 105 kB / 0.8622 GB, free: 184.2 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001081/1.322, allocations: 45.69 kB / 0.8623 GB, free: 184.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/1.322, allocations: 0 / 0.8623 GB, free: 184.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.574e-05/1.322, allocations: 125.4 kB / 0.8624 GB, free: 184.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.322, allocations: 180.2 kB / 0.8625 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-05/1.322, allocations: 184.3 kB / 0.8627 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/1.323, allocations: 180.2 kB / 0.8629 GB, free: 183.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/1.323, allocations: 385.8 kB / 0.8633 GB, free: 183.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.323, allocations: 101.3 kB / 0.8634 GB, free: 183 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/1.323, allocations: 108.9 kB / 0.8635 GB, free: 182.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.49e-05/1.323, allocations: 176.3 kB / 0.8636 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/1.323, allocations: 184.4 kB / 0.8638 GB, free: 182.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.992e-05/1.323, allocations: 184.2 kB / 0.864 GB, free: 182.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-05/1.323, allocations: 180.3 kB / 0.8641 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.452e-05/1.323, allocations: 311.7 kB / 0.8644 GB, free: 181.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/1.323, allocations: 186.1 kB / 0.8646 GB, free: 181.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/1.323, allocations: 188.2 kB / 0.8648 GB, free: 181.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.323, allocations: 108.9 kB / 0.8649 GB, free: 181.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/1.323, allocations: 180.3 kB / 0.8651 GB, free: 181.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.323, allocations: 101 kB / 0.8652 GB, free: 181 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.806e-05/1.323, allocations: 99.16 kB / 0.8653 GB, free: 180.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.323, allocations: 0 / 0.8653 GB, free: 180.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002546/1.323, allocations: 35.94 kB / 0.8653 GB, free: 180.9 MB / 0.5886 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.0003592/1.324, allocations: 0.8564 MB / 0.8661 GB, free: 180 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.056e-05/1.324, allocations: 7.984 kB / 0.8661 GB, free: 180 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.324, allocations: 0 / 0.8661 GB, free: 180 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/1.324, allocations: 0 / 0.8661 GB, free: 180 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/1.324, allocations: 0.5342 MB / 0.8667 GB, free: 179.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/1.324, allocations: 168.9 kB / 0.8668 GB, free: 179.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/1.325, allocations: 0.6768 MB / 0.8675 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.26e-05/1.325, allocations: 6.391 kB / 0.8675 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/1.325, allocations: 15.44 kB / 0.8675 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/1.325, allocations: 0 / 0.8675 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/1.346, allocations: 1.485 MB / 0.869 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.347, allocations: 201.4 kB / 0.8692 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.844, allocations: 1.562 kB / 0.8692 GB, free: 176.9 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)