Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001154/0.001154, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001586/0.001586, allocations: 193.7 kB / 16.25 MB, free: 6.625 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 / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 61.08 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3759, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006514/0.3825, allocations: 3.759 MB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.3828, allocations: 155.5 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.3828, allocations: 0 / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.383, allocations: 4 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.3831, allocations: 15.91 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.3835, allocations: 74.89 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3836, allocations: 27.92 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.3836, allocations: 11.98 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.3837, allocations: 23.86 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.3838, allocations: 15.98 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3838, allocations: 0 / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.3844, allocations: 179.5 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.3844, allocations: 4 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.3845, allocations: 19.91 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3846, allocations: 44.12 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3846, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3846, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3846, allocations: 0 / 1.072 GB, free: 6.477 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.0004458/0.3851, allocations: 343.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3851, allocations: 8.031 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3852, allocations: 0.9375 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3853, allocations: 168.4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.3854, allocations: 34.25 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3854, allocations: 384 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3855, allocations: 45.56 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3856, allocations: 8 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3856, allocations: 4 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3856, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.3857, allocations: 11.98 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.3862, allocations: 338 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.3862, allocations: 18.58 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.3862, allocations: 8.797 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/0.3863, allocations: 93.16 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3864, allocations: 30.56 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3864, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.3865, allocations: 33.61 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3866, allocations: 51.41 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.3867, allocations: 105.8 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3867, allocations: 25.7 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.3867, allocations: 92.11 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.3868, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3868, allocations: 21.7 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3869, allocations: 322.7 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.387, allocations: 0 / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.387, allocations: 17.72 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.387, allocations: 25.7 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3871, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.65e-05/0.3871, allocations: 49.58 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3872, allocations: 7.984 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3872, allocations: 7.984 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3872, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.3872, allocations: 4 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3873, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.3873, allocations: 3.906 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3873, allocations: 8.062 kB / 1.074 GB, free: 4.348 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 8.17e-05/0.3874, allocations: 113.8 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3874, allocations: 4 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.3876, allocations: 120.9 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.614e-05/0.3876, allocations: 180.3 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-05/0.3877, allocations: 184.2 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/0.3878, allocations: 180.2 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.388, allocations: 413.1 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/0.3881, allocations: 101 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.3881, allocations: 105 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-05/0.3882, allocations: 180.2 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.3883, allocations: 180.3 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.589e-05/0.3883, allocations: 180.2 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.282e-05/0.3884, allocations: 184.2 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.3886, allocations: 312 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.3887, allocations: 182.1 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.3888, allocations: 188.2 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3889, allocations: 113 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.389, allocations: 176.3 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.389, allocations: 108.9 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.3891, allocations: 83.27 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3891, allocations: 0 / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002484/0.3894, allocations: 27.94 kB / 1.077 GB, free: 0.8828 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.0003219/0.3897, allocations: 194.4 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.3898, allocations: 8.312 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3898, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.3898, allocations: 3.938 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3902, allocations: 475.7 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.3906, allocations: 182 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3909, allocations: 0.6728 MB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.237e-05/0.391, allocations: 12 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.391, allocations: 7.438 kB / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.391, allocations: 0 / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of Templates: time 0.00309/0.3941, allocations: 0.644 MB / 1.079 GB, free: 14.65 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)