Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.278/2.278, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 191.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 106.6 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 53.86 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3383, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004825/0.3432, allocations: 3.771 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.3434, allocations: 159.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.3434, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3435, allocations: 3.984 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.3436, allocations: 11.94 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3439, allocations: 79.75 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.344, allocations: 51.88 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.344, allocations: 8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.3441, allocations: 15.92 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.3442, allocations: 15.92 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3442, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.3446, allocations: 199.4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3447, allocations: 7.984 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.3447, allocations: 8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3448, allocations: 49.94 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3449, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3449, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3449, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 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.0003813/0.3453, allocations: 339.5 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3453, allocations: 15.98 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3454, allocations: 0.9375 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.3454, allocations: 160.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.3455, allocations: 30.27 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.3455, allocations: 384 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3457, allocations: 49.61 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3457, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3457, allocations: 8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3457, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.3458, allocations: 11.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3461, allocations: 337.9 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.086e-05/0.3462, allocations: 18.64 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.3462, allocations: 12.86 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.164e-05/0.3463, allocations: 85.09 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3463, allocations: 42.48 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.3463, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.3464, allocations: 37.64 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.3465, allocations: 55.34 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.3465, allocations: 105.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.3465, allocations: 25.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.3466, allocations: 92.05 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/0.3466, allocations: 4.125 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.3466, allocations: 13.72 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.3467, allocations: 322.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.3467, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.3467, allocations: 17.66 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.3467, allocations: 21.72 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3468, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.985e-05/0.3468, allocations: 53.53 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3468, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3468, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3469, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.3469, allocations: 8.266 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3469, allocations: 3.984 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.3469, allocations: 3.938 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.347, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 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 4.59e-05/0.347, allocations: 114.5 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.347, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.3471, allocations: 132.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.3472, allocations: 176.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/0.3472, allocations: 180.2 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.3472, allocations: 180.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.3474, allocations: 409.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.3474, allocations: 104.9 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.3474, allocations: 105 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/0.3474, allocations: 184.2 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.3475, allocations: 176.3 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.598e-05/0.3475, allocations: 184.3 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-05/0.3475, allocations: 180.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3477, allocations: 0.8493 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3478, allocations: 189.9 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3478, allocations: 176.3 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.348, allocations: 124.8 kB / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.348, allocations: 180.2 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.348, allocations: 105 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.653e-05/0.3481, allocations: 79.28 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003315/0.3484, allocations: 23.98 kB / 1.228 GB, free: 106.6 MB / 0.823 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.0002394/0.3487, allocations: 190.5 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.69e-05/0.3487, allocations: 15.86 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3487, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3488, allocations: 128 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3491, allocations: 0.5284 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.3494, allocations: 187.6 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3495, allocations: 0.6731 MB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3495, allocations: 11.98 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.3495, allocations: 7.438 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.3496, allocations: 0 / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of Templates: time 0.002372/0.3519, allocations: 0.6331 MB / 1.23 GB, free: 104.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)