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 0.7915/0.7915, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 190.4 kB / 187.3 MB, free: 11.88 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.482/1.482, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009499/0.0009499, allocations: 99.22 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 272.7 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.81e-05/4.813e-05, allocations: 0 / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4835, allocations: 82.76 MB / 0.7642 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.392, allocations: 348.5 MB / 1.105 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.392, allocations: 72.72 kB / 1.105 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02929/1.422, allocations: 13.27 MB / 1.118 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/1.422, allocations: 0 / 1.118 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.422, allocations: 4 kB / 1.118 GB, free: 15.04 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.0003793/1.422, allocations: 329.2 kB / 1.118 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.422, allocations: 8.031 kB / 1.118 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/1.422, allocations: 4 kB / 1.118 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.422, allocations: 167 kB / 1.118 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/1.422, allocations: 29.7 kB / 1.118 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.422, allocations: 0 / 1.118 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/1.423, allocations: 40.31 kB / 1.118 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.423, allocations: 0 / 1.118 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.423, allocations: 2.562 kB / 1.118 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/1.423, allocations: 11.92 kB / 1.118 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/1.423, allocations: 8 kB / 1.118 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/1.423, allocations: 347.2 kB / 1.118 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/1.423, allocations: 18.56 kB / 1.118 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/1.423, allocations: 8.922 kB / 1.119 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/1.423, allocations: 81.11 kB / 1.119 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.423, allocations: 41.3 kB / 1.119 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.423, allocations: 0 / 1.119 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001517/1.424, allocations: 37.61 kB / 1.119 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.424, allocations: 55.34 kB / 1.119 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/1.424, allocations: 92 kB / 1.119 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.424, allocations: 25.7 kB / 1.119 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/1.424, allocations: 99.52 kB / 1.119 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/1.424, allocations: 4.031 kB / 1.119 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/1.424, allocations: 0 / 1.119 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.424, allocations: 314.8 kB / 1.119 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/1.424, allocations: 4 kB / 1.119 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/1.424, allocations: 16.72 kB / 1.119 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/1.424, allocations: 7.984 kB / 1.119 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.424, allocations: 0 / 1.119 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.761e-05/1.424, allocations: 49.39 kB / 1.119 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.424, allocations: 13.39 kB / 1.119 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.424, allocations: 0 / 1.119 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.424, allocations: 0 / 1.119 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/1.424, allocations: 4 kB / 1.119 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.424, allocations: 0 / 1.119 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/1.424, allocations: 4 kB / 1.119 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/1.424, allocations: 0 / 1.119 GB, free: 13.03 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 7.056e-05/1.424, allocations: 104.9 kB / 1.119 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/1.424, allocations: 15.91 kB / 1.119 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/1.424, allocations: 128 kB / 1.12 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.585e-05/1.425, allocations: 176.3 kB / 1.12 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/1.425, allocations: 180.2 kB / 1.12 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/1.425, allocations: 180 kB / 1.12 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/1.425, allocations: 409.2 kB / 1.12 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/1.425, allocations: 112 kB / 1.121 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/1.425, allocations: 108.9 kB / 1.121 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/1.425, allocations: 180.2 kB / 1.121 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/1.425, allocations: 176.3 kB / 1.121 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/1.425, allocations: 180.3 kB / 1.121 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-05/1.425, allocations: 188.2 kB / 1.121 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/1.425, allocations: 311.1 kB / 1.122 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/1.426, allocations: 181.5 kB / 1.122 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/1.426, allocations: 184.2 kB / 1.122 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.426, allocations: 109 kB / 1.122 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/1.426, allocations: 180.3 kB / 1.122 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.426, allocations: 110.1 kB / 1.122 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.821e-05/1.426, allocations: 86.59 kB / 1.122 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1e-07/1.426, allocations: 0 / 1.122 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002346/1.426, allocations: 15.94 kB / 1.122 GB, free: 9.586 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.0002395/1.426, allocations: 209.2 kB / 1.123 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/1.427, allocations: 11.98 kB / 1.123 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.427, allocations: 0 / 1.123 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/1.427, allocations: 8.062 kB / 1.123 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/1.427, allocations: 0.5217 MB / 1.123 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/1.427, allocations: 128.3 kB / 1.123 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/1.427, allocations: 0.677 MB / 1.124 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.062e-05/1.427, allocations: 15.97 kB / 1.124 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/1.427, allocations: 7.438 kB / 1.124 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/1.427, allocations: 0 / 1.124 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of Templates: time 0.003305/1.431, allocations: 0.8945 MB / 1.125 GB, free: 7.078 MB / 0.6511 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)