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.001222/0.001222, allocations: 180 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4702/0.4702, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009819, allocations: 103.6 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.875e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3758, allocations: 72.3 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6233/0.9992, allocations: 305 MB / 0.8582 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.9995, allocations: 79.86 kB / 0.8583 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02107/1.021, allocations: 9.155 MB / 0.8672 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/1.021, allocations: 0 / 0.8672 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.021, allocations: 0 / 0.8672 GB, free: 4.363 MB / 0.5417 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.0003551/1.021, allocations: 342.1 kB / 0.8675 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.021, allocations: 11.98 kB / 0.8676 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/1.021, allocations: 30.56 kB / 0.8676 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/1.021, allocations: 15.84 kB / 0.8676 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.021, allocations: 163.1 kB / 0.8678 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/1.021, allocations: 25.7 kB / 0.8678 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/1.021, allocations: 4.938 kB / 0.8678 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/1.022, allocations: 45.12 kB / 0.8678 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.022, allocations: 0 / 0.8678 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.022, allocations: 0 / 0.8678 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/1.022, allocations: 3.953 kB / 0.8678 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/1.022, allocations: 15.3 kB / 0.8678 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/1.022, allocations: 0.5968 MB / 0.8684 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.005e-05/1.022, allocations: 22.52 kB / 0.8684 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/1.022, allocations: 4.859 kB / 0.8685 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/1.023, allocations: 361.7 kB / 0.8688 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.023, allocations: 39.17 kB / 0.8688 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.023, allocations: 4 kB / 0.8688 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/1.023, allocations: 33.2 kB / 0.8689 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.023, allocations: 51.41 kB / 0.8689 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/1.023, allocations: 92.98 kB / 0.869 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/1.023, allocations: 33.14 kB / 0.869 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/1.023, allocations: 87.98 kB / 0.8691 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/1.023, allocations: 10.38 kB / 0.8691 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/1.023, allocations: 3.938 kB / 0.8691 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.023, allocations: 318.8 kB / 0.8694 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/1.023, allocations: 4 kB / 0.8694 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/1.023, allocations: 17.7 kB / 0.8695 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/1.023, allocations: 4 kB / 0.8695 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.023, allocations: 0 / 0.8695 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.955e-05/1.023, allocations: 49.06 kB / 0.8695 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.023, allocations: 12.06 kB / 0.8695 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.023, allocations: 3.953 kB / 0.8695 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/1.023, allocations: 288 / 0.8695 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.875e-05/1.024, allocations: 4 kB / 0.8695 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/1.024, allocations: 4 kB / 0.8695 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/1.024, allocations: 4 kB / 0.8695 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.024, allocations: 0 / 0.8695 GB, free: 1.652 MB / 0.5417 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 7.517e-05/1.024, allocations: 108.3 kB / 0.8696 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.024, allocations: 7.969 kB / 0.8697 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/1.024, allocations: 120.9 kB / 0.8698 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.661e-05/1.024, allocations: 180.2 kB / 0.8699 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-05/1.024, allocations: 183.8 kB / 0.8701 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.897e-05/1.024, allocations: 184.2 kB / 0.8703 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/1.024, allocations: 401 kB / 0.8707 GB, free: 416 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/1.024, allocations: 112.9 kB / 0.8708 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/1.024, allocations: 101 kB / 0.8709 GB, free: 188 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.056e-05/1.024, allocations: 176.3 kB / 0.871 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/1.025, allocations: 180.2 kB / 0.8712 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.179e-05/1.025, allocations: 184.2 kB / 0.8714 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.548e-05/1.025, allocations: 192.3 kB / 0.8716 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/1.025, allocations: 303.7 kB / 0.8719 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/1.025, allocations: 189.7 kB / 0.872 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/1.025, allocations: 180.3 kB / 0.8722 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.025, allocations: 108.9 kB / 0.8723 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/1.025, allocations: 188.2 kB / 0.8725 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/1.025, allocations: 101 kB / 0.8726 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.165e-05/1.025, allocations: 86.53 kB / 0.8727 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.392e-06/1.025, allocations: 0 / 0.8727 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002646/1.026, allocations: 44.16 kB / 0.8727 GB, free: 14.2 MB / 0.5573 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.0004973/1.026, allocations: 0.8557 MB / 0.8736 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.227e-05/1.026, allocations: 15.94 kB / 0.8736 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.026, allocations: 0 / 0.8736 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/1.026, allocations: 0 / 0.8736 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.027, allocations: 0.5182 MB / 0.8741 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/1.027, allocations: 184.1 kB / 0.8743 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.027, allocations: 0.6809 MB / 0.8749 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.315e-05/1.027, allocations: 9.391 kB / 0.8749 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/1.027, allocations: 7.438 kB / 0.8749 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of SimCode: time 2.91e-07/1.027, allocations: 3.938 kB / 0.8749 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/1.04, allocations: 1.886 MB / 0.8768 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/1.04, allocations: 204.8 kB / 0.877 GB, free: 9.977 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.481, allocations: 0 / 0.877 GB, free: 9.977 MB / 0.5573 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)