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.8349/0.8349, allocations: 143.4 MB / 158.3 MB, free: 5.746 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.001619/0.001619, allocations: 177 kB / 191.5 MB, free: 5.746 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.484/1.484, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0008736/0.0008736, allocations: 88.33 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 276.1 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004111, allocations: 17.41 kB / 0.6928 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8126/0.9857, allocations: 348.5 MB / 1.114 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.9861, allocations: 76.59 kB / 1.114 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02736/1.013, allocations: 13.32 MB / 1.127 GB, free: 11.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.013, allocations: 0 / 1.127 GB, free: 11.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.013, allocations: 4 kB / 1.127 GB, free: 11.31 MB / 0.698 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.0003119/1.014, allocations: 335.3 kB / 1.127 GB, free: 10.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.014, allocations: 16.77 kB / 1.127 GB, free: 10.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/1.014, allocations: 3.984 kB / 1.127 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.014, allocations: 163 kB / 1.128 GB, free: 10.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/1.014, allocations: 29.7 kB / 1.128 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/1.014, allocations: 0 / 1.128 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.014, allocations: 41.62 kB / 1.128 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.014, allocations: 0 / 1.128 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/1.014, allocations: 7.734 kB / 1.128 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.014, allocations: 11.98 kB / 1.128 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/1.014, allocations: 7.984 kB / 1.128 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/1.015, allocations: 342.2 kB / 1.128 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/1.015, allocations: 18.52 kB / 1.128 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/1.015, allocations: 92.97 kB / 1.128 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.015, allocations: 34.56 kB / 1.128 GB, free: 10.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.015, allocations: 0 / 1.128 GB, free: 10.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/1.015, allocations: 33.7 kB / 1.128 GB, free: 10.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/1.015, allocations: 51.41 kB / 1.128 GB, free: 9.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/1.015, allocations: 99.42 kB / 1.128 GB, free: 9.844 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/1.015, allocations: 25.7 kB / 1.128 GB, free: 9.812 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/1.015, allocations: 87.61 kB / 1.128 GB, free: 9.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-06/1.015, allocations: 4 kB / 1.128 GB, free: 9.723 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/1.015, allocations: 3.938 kB / 1.128 GB, free: 9.719 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/1.015, allocations: 318.9 kB / 1.129 GB, free: 9.398 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/1.015, allocations: 7.984 kB / 1.129 GB, free: 9.391 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/1.015, allocations: 17.66 kB / 1.129 GB, free: 9.371 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.809e-05/1.015, allocations: 4 kB / 1.129 GB, free: 9.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.015, allocations: 0 / 1.129 GB, free: 9.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.659e-05/1.015, allocations: 49.56 kB / 1.129 GB, free: 9.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.016, allocations: 8.688 kB / 1.129 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.016, allocations: 0 / 1.129 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.016, allocations: 4 kB / 1.129 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/1.016, allocations: 4 kB / 1.129 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.016, allocations: 3.984 kB / 1.129 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/1.016, allocations: 3.906 kB / 1.129 GB, free: 9.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.016, allocations: 4 kB / 1.129 GB, free: 9.289 MB / 0.698 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 6.616e-05/1.016, allocations: 113.6 kB / 1.129 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.016, allocations: 7.938 kB / 1.129 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.016, allocations: 124.3 kB / 1.129 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/1.016, allocations: 180.3 kB / 1.129 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/1.016, allocations: 176.3 kB / 1.129 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/1.016, allocations: 184.1 kB / 1.13 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/1.016, allocations: 405.2 kB / 1.13 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.016, allocations: 108.9 kB / 1.13 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/1.016, allocations: 104.9 kB / 1.13 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.275e-05/1.016, allocations: 184.2 kB / 1.13 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/1.016, allocations: 180.2 kB / 1.131 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.245e-05/1.016, allocations: 180.3 kB / 1.131 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.108e-05/1.017, allocations: 184.2 kB / 1.131 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/1.017, allocations: 311.5 kB / 1.131 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/1.017, allocations: 186 kB / 1.131 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/1.017, allocations: 176.3 kB / 1.132 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/1.017, allocations: 120.7 kB / 1.132 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/1.017, allocations: 176.3 kB / 1.132 GB, free: 6.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/1.017, allocations: 105 kB / 1.132 GB, free: 5.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.57e-05/1.017, allocations: 91.02 kB / 1.132 GB, free: 5.867 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.017, allocations: 0 / 1.132 GB, free: 5.867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002599/1.017, allocations: 15.94 kB / 1.132 GB, free: 5.852 MB / 0.698 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.0002062/1.018, allocations: 206.7 kB / 1.132 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.214e-05/1.018, allocations: 11.94 kB / 1.132 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.018, allocations: 3.938 kB / 1.132 GB, free: 5.629 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/1.018, allocations: 3.984 kB / 1.132 GB, free: 5.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/1.018, allocations: 0.5291 MB / 1.133 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/1.018, allocations: 192.2 kB / 1.133 GB, free: 4.879 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/1.018, allocations: 0.677 MB / 1.134 GB, free: 4.176 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.185e-05/1.018, allocations: 15.98 kB / 1.134 GB, free: 4.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/1.018, allocations: 7.438 kB / 1.134 GB, free: 4.152 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.018, allocations: 0 / 1.134 GB, free: 4.152 MB / 0.698 GB Notification: Performance of Templates: time 0.002791/1.021, allocations: 0.8236 MB / 1.134 GB, free: 3.34 MB / 0.698 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)