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.853/1.853, allocations: 288.3 MB / 303.2 MB, free: 8.215 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.001377/0.001378, allocations: 189 kB / 371.8 MB, free: 10.26 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.723/1.723, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0008016/0.0008014, allocations: 90.92 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9975/1.234, allocations: 377.7 MB / 1.348 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.235, allocations: 68.53 kB / 1.348 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02524/1.26, allocations: 12.06 MB / 1.36 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/1.26, allocations: 0 / 1.36 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.26, allocations: 4 kB / 1.36 GB, free: 9.434 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.0003277/1.26, allocations: 327.3 kB / 1.36 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.26, allocations: 16.02 kB / 1.36 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/1.26, allocations: 3.938 kB / 1.36 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.26, allocations: 163.7 kB / 1.361 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/1.26, allocations: 29.7 kB / 1.361 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/1.26, allocations: 4 kB / 1.361 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.261, allocations: 41.62 kB / 1.361 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/1.261, allocations: 0 / 1.361 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/1.261, allocations: 0 / 1.361 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.261, allocations: 7.984 kB / 1.361 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/1.261, allocations: 4 kB / 1.361 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/1.261, allocations: 344.6 kB / 1.361 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/1.261, allocations: 18.58 kB / 1.361 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/1.261, allocations: 89.16 kB / 1.361 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.261, allocations: 30.56 kB / 1.361 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.261, allocations: 0 / 1.361 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001281/1.261, allocations: 40.45 kB / 1.361 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/1.261, allocations: 51.41 kB / 1.361 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/1.262, allocations: 99.98 kB / 1.361 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/1.262, allocations: 29.64 kB / 1.361 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/1.262, allocations: 84.05 kB / 1.361 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-06/1.262, allocations: 4 kB / 1.361 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.262, allocations: 2.812 kB / 1.361 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.262, allocations: 314.8 kB / 1.362 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/1.262, allocations: 7.984 kB / 1.362 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/1.262, allocations: 12.91 kB / 1.362 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.752e-05/1.262, allocations: 11.94 kB / 1.362 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.262, allocations: 4 kB / 1.362 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.877e-05/1.262, allocations: 48.62 kB / 1.362 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.262, allocations: 5.406 kB / 1.362 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/1.262, allocations: 96 / 1.362 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/1.262, allocations: 3.984 kB / 1.362 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/1.262, allocations: 8 kB / 1.362 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.262, allocations: 0 / 1.362 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/1.262, allocations: 7.906 kB / 1.362 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/1.262, allocations: 15.23 kB / 1.362 GB, free: 7.418 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 7.054e-05/1.262, allocations: 110.3 kB / 1.362 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/1.262, allocations: 0 / 1.362 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/1.262, allocations: 121.9 kB / 1.362 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.123e-05/1.262, allocations: 184.2 kB / 1.362 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-05/1.263, allocations: 184.2 kB / 1.362 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-05/1.263, allocations: 176.3 kB / 1.363 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/1.263, allocations: 412.3 kB / 1.363 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.093e-05/1.263, allocations: 101 kB / 1.363 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/1.263, allocations: 105 kB / 1.363 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.595e-05/1.263, allocations: 187.2 kB / 1.363 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.263, allocations: 184.2 kB / 1.364 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.971e-05/1.263, allocations: 180.2 kB / 1.364 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.66e-05/1.263, allocations: 176.3 kB / 1.364 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/1.263, allocations: 307.6 kB / 1.364 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/1.264, allocations: 190.1 kB / 1.364 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/1.264, allocations: 185.8 kB / 1.365 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.264, allocations: 112.8 kB / 1.365 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/1.264, allocations: 176.3 kB / 1.365 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/1.264, allocations: 108.9 kB / 1.365 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.635e-05/1.264, allocations: 86.28 kB / 1.365 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/1.264, allocations: 4 kB / 1.365 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002644/1.264, allocations: 19.98 kB / 1.365 GB, free: 3.984 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.0002262/1.264, allocations: 198.5 kB / 1.365 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.011e-05/1.265, allocations: 11.5 kB / 1.365 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.265, allocations: 0 / 1.365 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/1.265, allocations: 3.938 kB / 1.365 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/1.265, allocations: 0.5301 MB / 1.366 GB, free: 3.234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/1.265, allocations: 191.8 kB / 1.366 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/1.266, allocations: 0.677 MB / 1.367 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.097e-05/1.266, allocations: 4 kB / 1.367 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/1.266, allocations: 15.38 kB / 1.367 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/1.266, allocations: 0 / 1.367 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of Templates: time 0.002896/1.269, allocations: 0.7804 MB / 1.367 GB, free: 1.531 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)