Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 183.8 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.000904, allocations: 104 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 276.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.564e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4145, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7691/1.184, allocations: 347.8 MB / 1.097 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.184, allocations: 78.53 kB / 1.097 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03036/1.214, allocations: 13.22 MB / 1.11 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.734e-06/1.214, allocations: 0 / 1.11 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.214, allocations: 0 / 1.11 GB, free: 6.75 MB / 0.6511 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.0003586/1.215, allocations: 330.5 kB / 1.11 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.215, allocations: 8.031 kB / 1.11 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/1.215, allocations: 4 kB / 1.11 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.215, allocations: 170.6 kB / 1.11 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.486e-05/1.215, allocations: 25.7 kB / 1.11 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/1.215, allocations: 4 kB / 1.111 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.384e-05/1.215, allocations: 15.92 kB / 1.111 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/1.215, allocations: 36.69 kB / 1.111 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.215, allocations: 4 kB / 1.111 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.215, allocations: 4 kB / 1.111 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/1.215, allocations: 0 / 1.111 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/1.216, allocations: 313.7 kB / 1.111 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/1.216, allocations: 18.58 kB / 1.111 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/1.216, allocations: 8.844 kB / 1.111 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.97e-05/1.216, allocations: 93.09 kB / 1.111 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.216, allocations: 34.56 kB / 1.111 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.216, allocations: 0 / 1.111 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001794/1.216, allocations: 33.2 kB / 1.111 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.216, allocations: 51.41 kB / 1.111 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/1.216, allocations: 92.98 kB / 1.111 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/1.216, allocations: 25.7 kB / 1.111 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/1.216, allocations: 99.52 kB / 1.111 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/1.216, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.217, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.217, allocations: 314.8 kB / 1.112 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/1.217, allocations: 11.23 kB / 1.112 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/1.217, allocations: 13.72 kB / 1.112 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/1.217, allocations: 7.938 kB / 1.112 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.217, allocations: 4 kB / 1.112 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001195/1.217, allocations: 49.56 kB / 1.112 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.217, allocations: 4 kB / 1.112 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.217, allocations: 3.938 kB / 1.112 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.217, allocations: 0 / 1.112 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/1.217, allocations: 11.98 kB / 1.112 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.217, allocations: 0 / 1.112 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/1.217, allocations: 3.906 kB / 1.112 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/1.217, allocations: 0 / 1.112 GB, free: 4.77 MB / 0.6511 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 8.402e-05/1.217, allocations: 117.8 kB / 1.112 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/1.217, allocations: 0 / 1.112 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/1.217, allocations: 121.5 kB / 1.112 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.197e-05/1.217, allocations: 179.9 kB / 1.112 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.99e-05/1.217, allocations: 184.2 kB / 1.112 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.413e-05/1.218, allocations: 180.3 kB / 1.112 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/1.218, allocations: 381.8 kB / 1.113 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/1.218, allocations: 111.9 kB / 1.113 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/1.218, allocations: 104.9 kB / 1.113 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.921e-05/1.218, allocations: 180.2 kB / 1.113 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/1.218, allocations: 180.2 kB / 1.113 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.858e-05/1.218, allocations: 180.3 kB / 1.114 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-05/1.218, allocations: 180.3 kB / 1.114 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/1.218, allocations: 310.9 kB / 1.114 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/1.218, allocations: 178.1 kB / 1.114 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/1.218, allocations: 184.2 kB / 1.114 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.219, allocations: 115.8 kB / 1.114 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/1.219, allocations: 180.3 kB / 1.115 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/1.219, allocations: 106.2 kB / 1.115 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.986e-05/1.219, allocations: 82.47 kB / 1.115 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.219, allocations: 3.938 kB / 1.115 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000269/1.219, allocations: 19.92 kB / 1.115 GB, free: 1.371 MB / 0.6511 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.0002326/1.219, allocations: 206.5 kB / 1.115 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/1.219, allocations: 7.5 kB / 1.115 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.219, allocations: 4.125 kB / 1.115 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/1.219, allocations: 4 kB / 1.115 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/1.22, allocations: 0.5203 MB / 1.116 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/1.22, allocations: 130.5 kB / 1.116 GB, free: 488 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/1.22, allocations: 0.6768 MB / 1.116 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.415e-05/1.22, allocations: 8 kB / 1.116 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/1.22, allocations: 7.438 kB / 1.116 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of SimCode: time 3.11e-07/1.22, allocations: 0 / 1.116 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of Templates: time 0.002692/1.223, allocations: 0.712 MB / 1.117 GB, free: 15.06 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)