Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001727, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5488 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.27 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2521, allocations: 114.5 MB / 0.7833 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005479/0.2576, allocations: 3.721 MB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001908/0.2578, allocations: 167.4 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.2579, allocations: 0 / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.717e-05/0.258, allocations: 0 / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.2581, allocations: 7.922 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2584, allocations: 75.69 kB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.2585, allocations: 23.94 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.2585, allocations: 15.92 kB / 0.7873 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.2586, allocations: 15.92 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.2586, allocations: 7.984 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2587, allocations: 4 kB / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/0.2592, allocations: 187.4 kB / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.2592, allocations: 3.984 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.2593, allocations: 11.94 kB / 0.7875 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.2594, allocations: 40.12 kB / 0.7875 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2594, allocations: 3.984 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2594, allocations: 0 / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2594, allocations: 4 kB / 0.7875 GB, free: 9.234 MB / 0.6075 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.0004343/0.2599, allocations: 331.5 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2599, allocations: 12.03 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.2599, allocations: 0.9375 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2601, allocations: 164.3 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/0.2602, allocations: 34.27 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.2602, allocations: 4.359 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.2604, allocations: 53.56 kB / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2604, allocations: 0 / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2604, allocations: 4 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2605, allocations: 0 / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.2605, allocations: 15.98 kB / 0.7881 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.261, allocations: 334 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.261, allocations: 18.52 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.2611, allocations: 12.92 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.2612, allocations: 85.09 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2612, allocations: 30.56 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2612, allocations: 0 / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.2614, allocations: 49.58 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2614, allocations: 51.41 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.2615, allocations: 105.8 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2615, allocations: 29.83 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.2616, allocations: 84.05 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.2616, allocations: 3.938 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.2616, allocations: 21.66 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2617, allocations: 314.8 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.2618, allocations: 7.984 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.2618, allocations: 13.72 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.2618, allocations: 25.72 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2618, allocations: 3.938 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.871e-05/0.2619, allocations: 49.62 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2619, allocations: 4.938 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.262, allocations: 0 / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.262, allocations: 4 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.262, allocations: 7.984 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.262, allocations: 0 / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.262, allocations: 4.062 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2621, allocations: 4 kB / 0.7893 GB, free: 7.113 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.2621, allocations: 113.8 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2622, allocations: 7.906 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2623, allocations: 124.1 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-05/0.2623, allocations: 180.3 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.184e-05/0.2624, allocations: 184.2 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.425e-05/0.2625, allocations: 180.3 kB / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.2627, allocations: 413.1 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/0.2627, allocations: 101 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.2628, allocations: 101 kB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.449e-05/0.2629, allocations: 196.2 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.2629, allocations: 176.3 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-05/0.263, allocations: 180.2 kB / 0.7912 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001047/0.2631, allocations: 176.3 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.2633, allocations: 315.7 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.2633, allocations: 182.1 kB / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.2634, allocations: 180.2 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2636, allocations: 109 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.2636, allocations: 180.3 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.2637, allocations: 108.9 kB / 0.7924 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.2637, allocations: 91.27 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2637, allocations: 0 / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002885/0.264, allocations: 19.94 kB / 0.7925 GB, free: 3.645 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002809/0.2643, allocations: 194.4 kB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.2644, allocations: 12 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.2644, allocations: 0 / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2644, allocations: 12 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2648, allocations: 455.7 kB / 0.7931 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2651, allocations: 189.8 kB / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.2653, allocations: 0.6806 MB / 0.794 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.2654, allocations: 8 kB / 0.794 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.2654, allocations: 7.438 kB / 0.794 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2654, allocations: 0 / 0.794 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.002741/0.2682, allocations: 0.5889 MB / 0.7946 GB, free: 1.457 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)