Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.4 MB / 304.3 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001125, allocations: 177.6 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 100.1 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005321, allocations: 10.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2169, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.757/0.9739, allocations: 377.8 MB / 1.35 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.9741, allocations: 69.72 kB / 1.35 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0237/0.9978, allocations: 12.01 MB / 1.361 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9979, allocations: 0 / 1.361 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.9979, allocations: 4 kB / 1.361 GB, free: 9.164 MB / 0.8855 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.0002996/0.9982, allocations: 334.9 kB / 1.362 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.9982, allocations: 16.03 kB / 1.362 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.9983, allocations: 0.9375 kB / 1.362 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/0.9984, allocations: 161 kB / 1.362 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.9984, allocations: 34.25 kB / 1.362 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.9985, allocations: 384 / 1.362 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.9986, allocations: 41.88 kB / 1.362 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9986, allocations: 3.938 kB / 1.362 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.9986, allocations: 3.984 kB / 1.362 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.9987, allocations: 4 kB / 1.362 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.9987, allocations: 15.92 kB / 1.362 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.9991, allocations: 339.8 kB / 1.362 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 2.867e-05/0.9991, allocations: 14.58 kB / 1.362 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.9992, allocations: 8.922 kB / 1.362 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.9992, allocations: 81.11 kB / 1.362 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.9993, allocations: 38.06 kB / 1.362 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.9993, allocations: 0 / 1.362 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.9994, allocations: 41.62 kB / 1.363 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.9994, allocations: 51.41 kB / 1.363 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.9995, allocations: 101 kB / 1.363 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.9996, allocations: 25.7 kB / 1.363 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.9996, allocations: 88.03 kB / 1.363 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.9996, allocations: 3.5 kB / 1.363 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.9996, allocations: 4.125 kB / 1.363 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.9997, allocations: 310.8 kB / 1.363 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.9998, allocations: 4 kB / 1.363 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.9998, allocations: 21.2 kB / 1.363 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.9998, allocations: 29.53 kB / 1.363 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9998, allocations: 0 / 1.363 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.873e-05/0.9999, allocations: 56.97 kB / 1.363 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1, allocations: 4 kB / 1.363 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/1, allocations: 3.938 kB / 1.363 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1, allocations: 4 kB / 1.363 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/1, allocations: 7.812 kB / 1.363 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/1, allocations: 0 / 1.363 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/1, allocations: 7.938 kB / 1.363 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/1, allocations: 4 kB / 1.363 GB, free: 7.102 MB / 0.8855 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.844e-05/1, allocations: 113.8 kB / 1.363 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/1, allocations: 8.062 kB / 1.363 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/1, allocations: 112.8 kB / 1.363 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.598e-05/1, allocations: 188.3 kB / 1.364 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.404e-05/1, allocations: 180.2 kB / 1.364 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1, allocations: 180.2 kB / 1.364 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/1.001, allocations: 411.8 kB / 1.364 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/1.001, allocations: 101 kB / 1.364 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/1.001, allocations: 104.9 kB / 1.365 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.705e-05/1.001, allocations: 183.6 kB / 1.365 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/1.001, allocations: 180.2 kB / 1.365 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.354e-05/1.001, allocations: 180.2 kB / 1.365 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.465e-05/1.001, allocations: 184.2 kB / 1.365 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/1.001, allocations: 302.8 kB / 1.366 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/1.001, allocations: 193.9 kB / 1.366 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/1.001, allocations: 181.1 kB / 1.366 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.001, allocations: 116.9 kB / 1.366 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/1.001, allocations: 176.3 kB / 1.366 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/1.002, allocations: 109 kB / 1.366 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.106e-05/1.002, allocations: 82.84 kB / 1.366 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/1.002, allocations: 0 / 1.366 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002571/1.002, allocations: 19.98 kB / 1.366 GB, free: 3.668 MB / 0.8855 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.0001918/1.002, allocations: 206.7 kB / 1.367 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.395e-05/1.002, allocations: 11.19 kB / 1.367 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.002, allocations: 0 / 1.367 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/1.002, allocations: 128 / 1.367 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/1.002, allocations: 0.5365 MB / 1.367 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/1.003, allocations: 184.3 kB / 1.367 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/1.003, allocations: 0.677 MB / 1.368 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.987e-05/1.003, allocations: 11.94 kB / 1.368 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/1.003, allocations: 15.38 kB / 1.368 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/1.003, allocations: 0 / 1.368 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of Templates: time 0.002814/1.006, allocations: 0.7881 MB / 1.369 GB, free: 1.199 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)