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: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009308/0.0009307, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5027/0.5027, allocations: 90.92 MB / 99.35 MB, free: 2.137 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.458/1.458, allocations: 221.5 MB / 343.2 MB, free: 1.586 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.0008556/0.0008554, allocations: 95.39 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.063e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1623, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.222, allocations: 304.4 MB / 0.8508 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.222, allocations: 84.81 kB / 0.8508 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01768/1.239, allocations: 9.09 MB / 0.8597 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.243e-06/1.24, allocations: 0 / 0.8597 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.24, allocations: 0 / 0.8597 GB, free: 161.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.0002642/1.24, allocations: 334.7 kB / 0.86 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.24, allocations: 16.36 kB / 0.8601 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/1.24, allocations: 7.859 kB / 0.8601 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/1.24, allocations: 159.1 kB / 0.8602 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/1.24, allocations: 29.61 kB / 0.8602 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/1.24, allocations: 4 kB / 0.8602 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.774e-05/1.24, allocations: 15.73 kB / 0.8603 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.139e-05/1.24, allocations: 41.94 kB / 0.8603 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/1.24, allocations: 0 / 0.8603 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.24, allocations: 0 / 0.8603 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/1.24, allocations: 7.938 kB / 0.8603 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/1.241, allocations: 0.5708 MB / 0.8609 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/1.241, allocations: 22.48 kB / 0.8609 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/1.241, allocations: 7.422 kB / 0.8609 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/1.241, allocations: 368.5 kB / 0.8612 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/1.241, allocations: 44.78 kB / 0.8613 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/1.241, allocations: 0 / 0.8613 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002071/1.241, allocations: 41.45 kB / 0.8613 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/1.241, allocations: 55.44 kB / 0.8614 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/1.241, allocations: 99 kB / 0.8615 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/1.241, allocations: 25.7 kB / 0.8615 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/1.241, allocations: 90.36 kB / 0.8616 GB, free: 159 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-06/1.241, allocations: 3.906 kB / 0.8616 GB, free: 159 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/1.241, allocations: 0 / 0.8616 GB, free: 159 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.798e-05/1.242, allocations: 321.2 kB / 0.8619 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/1.242, allocations: 0 / 0.8619 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/1.242, allocations: 17.62 kB / 0.8619 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/1.242, allocations: 22.36 kB / 0.8619 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.242, allocations: 3.938 kB / 0.8619 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001469/1.242, allocations: 55.73 kB / 0.862 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.242, allocations: 9.438 kB / 0.862 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.242, allocations: 0 / 0.862 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.242, allocations: 0 / 0.862 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-05/1.242, allocations: 7.922 kB / 0.862 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.242, allocations: 8.016 kB / 0.862 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/1.242, allocations: 3.906 kB / 0.862 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/1.242, allocations: 0 / 0.862 GB, free: 158.6 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.816e-05/1.242, allocations: 104.9 kB / 0.8621 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/1.242, allocations: 6.156 kB / 0.8621 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/1.242, allocations: 117.5 kB / 0.8622 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.242, allocations: 180.3 kB / 0.8624 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/1.242, allocations: 182.7 kB / 0.8626 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.242, allocations: 180.2 kB / 0.8628 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/1.242, allocations: 384.1 kB / 0.8631 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.242, allocations: 104.9 kB / 0.8632 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/1.242, allocations: 104.9 kB / 0.8633 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/1.242, allocations: 184.2 kB / 0.8635 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/1.242, allocations: 184.3 kB / 0.8637 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.663e-05/1.243, allocations: 182.8 kB / 0.8639 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.215e-05/1.243, allocations: 176.3 kB / 0.864 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.562e-05/1.243, allocations: 321.8 kB / 0.8643 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/1.243, allocations: 178.1 kB / 0.8645 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/1.243, allocations: 180.2 kB / 0.8647 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.243, allocations: 111.5 kB / 0.8648 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/1.243, allocations: 176.3 kB / 0.8649 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.243, allocations: 112.8 kB / 0.865 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.863e-05/1.243, allocations: 85.62 kB / 0.8651 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.243, allocations: 3.938 kB / 0.8651 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000266/1.243, allocations: 35.27 kB / 0.8652 GB, free: 155.3 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.000231/1.244, allocations: 228.4 kB / 0.8654 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.528e-05/1.244, allocations: 6.156 kB / 0.8654 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.244, allocations: 0 / 0.8654 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/1.244, allocations: 3.938 kB / 0.8654 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/1.244, allocations: 0.5295 MB / 0.8659 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001315/1.244, allocations: 125.4 kB / 0.866 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/1.244, allocations: 0.6767 MB / 0.8667 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.144e-05/1.244, allocations: 10.86 kB / 0.8667 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/1.244, allocations: 7.438 kB / 0.8667 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/1.244, allocations: 0 / 0.8667 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.002762/1.247, allocations: 1.066 MB / 0.8678 GB, free: 153.2 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)