Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 192.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 68.3 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.391, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005817/0.3968, allocations: 3.793 MB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.3971, allocations: 159.5 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.3971, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3972, allocations: 7.984 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.3973, allocations: 3.938 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.3976, allocations: 83.38 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.3977, allocations: 59.81 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.3978, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.3978, allocations: 19.92 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.3979, allocations: 11.98 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3979, allocations: 4 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.3985, allocations: 191.5 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.3985, allocations: 15.92 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.3985, allocations: 4 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.3988, allocations: 56.05 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3988, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3988, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3988, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 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.0003917/0.3992, allocations: 335.5 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3993, allocations: 16.02 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3993, allocations: 0.9375 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3995, allocations: 160.4 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.3996, allocations: 30.27 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.3996, allocations: 384 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.3997, allocations: 45.62 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3997, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3997, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3998, allocations: 7.938 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.3998, allocations: 11.98 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.4003, allocations: 338 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.839e-05/0.4003, allocations: 18.58 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.4003, allocations: 12.86 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.402e-05/0.4004, allocations: 89.09 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.4005, allocations: 34.5 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.4005, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.4006, allocations: 37.61 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.4007, allocations: 51.41 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.4008, allocations: 102 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4008, allocations: 29.7 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.4008, allocations: 92.16 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.4008, allocations: 4 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.4009, allocations: 17.7 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.401, allocations: 318.8 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.401, allocations: 7.938 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.4011, allocations: 25.67 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.4011, allocations: 25.72 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4011, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.649e-05/0.4012, allocations: 49.62 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4012, allocations: 4 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4012, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4013, allocations: 4 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.164e-05/0.4013, allocations: 4 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4013, allocations: 0 / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.4013, allocations: 3.906 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4014, allocations: 8 kB / 1.074 GB, free: 4.355 MB / 0.8262 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 7.048e-05/0.4014, allocations: 113.8 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.4015, allocations: 7.984 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4016, allocations: 116.9 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-05/0.4017, allocations: 180.3 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.4e-05/0.4017, allocations: 176.3 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.525e-05/0.4018, allocations: 188.2 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.4021, allocations: 409.2 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.146e-05/0.4021, allocations: 104.9 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.4022, allocations: 101 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.081e-05/0.4023, allocations: 184.2 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.302e-05/0.4024, allocations: 180.3 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-05/0.4024, allocations: 184.2 kB / 1.075 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-05/0.4025, allocations: 184.2 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.4027, allocations: 303.7 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.4028, allocations: 190.1 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.4029, allocations: 180.3 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.4031, allocations: 108.9 kB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.4032, allocations: 176.3 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.4032, allocations: 112.8 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.4033, allocations: 87.28 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4033, allocations: 0 / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002844/0.4036, allocations: 19.94 kB / 1.077 GB, free: 0.8984 MB / 0.8262 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.0003514/0.404, allocations: 202.4 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.4041, allocations: 8 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4041, allocations: 0 / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.4041, allocations: 0 / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.4046, allocations: 0.5388 MB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.4049, allocations: 175.7 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4053, allocations: 0.677 MB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.4054, allocations: 8 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.4054, allocations: 11.44 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4054, allocations: 0 / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.003121/0.4085, allocations: 0.6207 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)