Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001572/0.001572, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 281.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9955/0.9955, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.455, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005352/0.4603, allocations: 3.729 MB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.4605, allocations: 155.5 kB / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.4606, allocations: 0 / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.879e-05/0.4606, allocations: 0 / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.4607, allocations: 15.97 kB / 0.7709 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4611, allocations: 89.56 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.4611, allocations: 31.86 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.4612, allocations: 7.984 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.4612, allocations: 15.94 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.4613, allocations: 7.984 kB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.4613, allocations: 7.984 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.4618, allocations: 187.4 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.4618, allocations: 7.922 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4619, allocations: 11.98 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.462, allocations: 39.7 kB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.462, allocations: 0 / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.462, allocations: 0 / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.462, allocations: 4 kB / 0.7712 GB, free: 15.6 MB / 0.545 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.0004136/0.4624, allocations: 337.2 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4624, allocations: 12.03 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.4625, allocations: 0.9375 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4626, allocations: 168.4 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.4627, allocations: 38.2 kB / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.4627, allocations: 384 / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.4628, allocations: 41.62 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4628, allocations: 4 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4628, allocations: 4 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.4628, allocations: 4 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.4629, allocations: 15.98 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.4633, allocations: 334 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.4634, allocations: 18.52 kB / 0.7722 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.4634, allocations: 8.922 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/0.4635, allocations: 89.05 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4635, allocations: 34.55 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4635, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.4636, allocations: 41.66 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.4637, allocations: 51.41 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.4638, allocations: 109.8 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.4638, allocations: 25.7 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.4638, allocations: 96.09 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-06/0.4638, allocations: 0 / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.4639, allocations: 17.72 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.464, allocations: 318.8 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.464, allocations: 4 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.4641, allocations: 17.89 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.4641, allocations: 29.7 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4641, allocations: 0 / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.76e-05/0.4642, allocations: 45.64 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4642, allocations: 4 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.4642, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4642, allocations: 7.984 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-05/0.4642, allocations: 4 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4642, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.4643, allocations: 3.953 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4643, allocations: 8.062 kB / 0.7731 GB, free: 13.47 MB / 0.545 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 8.593e-05/0.4644, allocations: 120.1 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.4644, allocations: 4 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.4645, allocations: 113 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.891e-05/0.4646, allocations: 184.3 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-05/0.4647, allocations: 184.2 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.143e-05/0.4647, allocations: 184.3 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.465, allocations: 409.1 kB / 0.7742 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.785e-05/0.465, allocations: 105 kB / 0.7743 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.4651, allocations: 101 kB / 0.7744 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.73e-05/0.4652, allocations: 188.2 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.4652, allocations: 180.3 kB / 0.7747 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-05/0.4653, allocations: 180.2 kB / 0.7749 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.904e-05/0.4654, allocations: 176.3 kB / 0.7751 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.4656, allocations: 315.7 kB / 0.7754 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.4657, allocations: 182.1 kB / 0.7756 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.4657, allocations: 180.2 kB / 0.7757 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.4659, allocations: 113 kB / 0.7758 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.466, allocations: 180.2 kB / 0.776 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.466, allocations: 105 kB / 0.7761 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.4661, allocations: 91.2 kB / 0.7762 GB, free: 10.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4661, allocations: 7.938 kB / 0.7762 GB, free: 10.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002423/0.4663, allocations: 15.94 kB / 0.7762 GB, free: 10.01 MB / 0.545 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.0002149/0.4665, allocations: 198.4 kB / 0.7764 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.4666, allocations: 15.94 kB / 0.7764 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4666, allocations: 0 / 0.7764 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.4666, allocations: 0 / 0.7764 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.467, allocations: 462.6 kB / 0.7769 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.4673, allocations: 193.8 kB / 0.7771 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4676, allocations: 0.6768 MB / 0.7777 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.4677, allocations: 9.875 kB / 0.7777 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.4677, allocations: 7.438 kB / 0.7777 GB, free: 8.402 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4677, allocations: 0 / 0.7777 GB, free: 8.402 MB / 0.545 GB Notification: Performance of Templates: time 0.003125/0.4708, allocations: 0.6467 MB / 0.7784 GB, free: 7.77 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)