Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 181.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5062/0.5062, allocations: 92 MB / 108.5 MB, free: 13.06 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.644/1.644, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.1 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 8 kB / 0.4982 GB, free: 42.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 72.31 MB / 0.5689 GB, free: 1.977 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.485, allocations: 387.5 MB / 0.9473 GB, free: 80.17 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003946/1.485, allocations: 66.16 kB / 0.9473 GB, free: 80.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03707/1.522, allocations: 19.12 MB / 0.966 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.925e-06/1.522, allocations: 0 / 0.966 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.596e-06/1.522, allocations: 0 / 0.966 GB, free: 63.45 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.0003789/1.523, allocations: 355.2 kB / 0.9663 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.523, allocations: 8.031 kB / 0.9663 GB, free: 63.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/1.523, allocations: 7.953 kB / 0.9663 GB, free: 63.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.523, allocations: 163 kB / 0.9665 GB, free: 62.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/1.523, allocations: 29.64 kB / 0.9665 GB, free: 62.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/1.523, allocations: 4 kB / 0.9665 GB, free: 62.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.523, allocations: 41.67 kB / 0.9666 GB, free: 62.75 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.523, allocations: 4 kB / 0.9666 GB, free: 62.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/1.523, allocations: 4 kB / 0.9666 GB, free: 62.74 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/1.523, allocations: 3.953 kB / 0.9666 GB, free: 62.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/1.523, allocations: 11.98 kB / 0.9666 GB, free: 62.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/1.524, allocations: 322.1 kB / 0.9669 GB, free: 62.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/1.524, allocations: 26.52 kB / 0.9669 GB, free: 62.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/1.524, allocations: 89.09 kB / 0.967 GB, free: 62.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.524, allocations: 38.52 kB / 0.9671 GB, free: 62.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.275e-06/1.524, allocations: 3.984 kB / 0.9671 GB, free: 62.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001704/1.524, allocations: 33.7 kB / 0.9671 GB, free: 62.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.524, allocations: 55.34 kB / 0.9671 GB, free: 62.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/1.524, allocations: 100.9 kB / 0.9672 GB, free: 61.94 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.524, allocations: 33.83 kB / 0.9673 GB, free: 61.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/1.524, allocations: 80.14 kB / 0.9673 GB, free: 61.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-06/1.524, allocations: 7.844 kB / 0.9674 GB, free: 61.81 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.524, allocations: 0 / 0.9674 GB, free: 61.81 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/1.525, allocations: 318.8 kB / 0.9677 GB, free: 61.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/1.525, allocations: 4 kB / 0.9677 GB, free: 61.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/1.525, allocations: 13.72 kB / 0.9677 GB, free: 61.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/1.525, allocations: 8 kB / 0.9677 GB, free: 61.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.525, allocations: 0 / 0.9677 GB, free: 61.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.493e-05/1.525, allocations: 49.62 kB / 0.9677 GB, free: 61.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.525, allocations: 8 kB / 0.9677 GB, free: 61.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.525, allocations: 0 / 0.9677 GB, free: 61.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.525, allocations: 3.953 kB / 0.9677 GB, free: 61.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/1.525, allocations: 11.98 kB / 0.9678 GB, free: 61.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.525, allocations: 0 / 0.9678 GB, free: 61.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/1.525, allocations: 4 kB / 0.9678 GB, free: 61.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/1.525, allocations: 4.062 kB / 0.9678 GB, free: 61.38 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 () * 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 7.554e-05/1.525, allocations: 113.8 kB / 0.9679 GB, free: 61.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/1.525, allocations: 0 / 0.9679 GB, free: 61.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/1.525, allocations: 124.8 kB / 0.968 GB, free: 61.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-05/1.525, allocations: 184.2 kB / 0.9682 GB, free: 60.94 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.661e-05/1.525, allocations: 184.1 kB / 0.9683 GB, free: 60.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/1.525, allocations: 180.3 kB / 0.9685 GB, free: 60.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/1.525, allocations: 408.2 kB / 0.9689 GB, free: 60.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/1.526, allocations: 104.9 kB / 0.969 GB, free: 60 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/1.526, allocations: 109 kB / 0.9691 GB, free: 59.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.126e-05/1.526, allocations: 180.2 kB / 0.9693 GB, free: 59.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/1.526, allocations: 180.3 kB / 0.9694 GB, free: 59.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.166e-05/1.526, allocations: 176.3 kB / 0.9696 GB, free: 59.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-05/1.526, allocations: 192.2 kB / 0.9698 GB, free: 59.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/1.526, allocations: 307.8 kB / 0.9701 GB, free: 58.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/1.526, allocations: 178.1 kB / 0.9703 GB, free: 58.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/1.526, allocations: 192.2 kB / 0.9704 GB, free: 58.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.526, allocations: 104.9 kB / 0.9705 GB, free: 58.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/1.526, allocations: 180.3 kB / 0.9707 GB, free: 58.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.526, allocations: 108.9 kB / 0.9708 GB, free: 58.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.04e-05/1.526, allocations: 91.2 kB / 0.9709 GB, free: 57.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.526, allocations: 0 / 0.9709 GB, free: 57.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002545/1.527, allocations: 24 kB / 0.9709 GB, free: 57.91 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 () * 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.0002939/1.527, allocations: 226.4 kB / 0.9711 GB, free: 57.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.338e-05/1.527, allocations: 7.984 kB / 0.9712 GB, free: 57.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.527, allocations: 0 / 0.9712 GB, free: 57.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.527, allocations: 4.062 kB / 0.9712 GB, free: 57.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.527, allocations: 0.5263 MB / 0.9717 GB, free: 57.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/1.528, allocations: 192.3 kB / 0.9719 GB, free: 56.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/1.528, allocations: 0.677 MB / 0.9725 GB, free: 56.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.737e-05/1.528, allocations: 8.281 kB / 0.9725 GB, free: 56.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/1.528, allocations: 7.438 kB / 0.9725 GB, free: 56.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/1.528, allocations: 0 / 0.9725 GB, free: 56.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.003774/1.532, allocations: 1.143 MB / 0.9736 GB, free: 55.06 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)