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.001057/0.001057, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001091/0.001091, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 283.3 kB / 291.4 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.9077/0.9077, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 93.94 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1402, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004689/0.1449, allocations: 3.71 MB / 0.6852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.1451, allocations: 151.5 kB / 0.6853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.1451, allocations: 4 kB / 0.6854 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.652e-05/0.1452, allocations: 7.922 kB / 0.6854 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.1453, allocations: 11.92 kB / 0.6854 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1456, allocations: 86.88 kB / 0.6855 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.1456, allocations: 31.84 kB / 0.6855 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.1457, allocations: 15.97 kB / 0.6855 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.1457, allocations: 8 kB / 0.6855 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1458, allocations: 19.91 kB / 0.6855 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.1458, allocations: 0 / 0.6855 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.1462, allocations: 191.4 kB / 0.6857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1463, allocations: 7.984 kB / 0.6857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1463, allocations: 11.92 kB / 0.6857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.1464, allocations: 43.91 kB / 0.6858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1465, allocations: 0 / 0.6858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1465, allocations: 3.938 kB / 0.6858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1465, allocations: 0 / 0.6858 GB, free: 3.18 MB / 494.1 MB 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.0003161/0.1468, allocations: 335.5 kB / 0.6861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.1468, allocations: 8.031 kB / 0.6861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1469, allocations: 12.84 kB / 0.6861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.79e-05/0.147, allocations: 164.4 kB / 0.6863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.147, allocations: 26.27 kB / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.147, allocations: 4.375 kB / 0.6863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.1471, allocations: 45.62 kB / 0.6863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1471, allocations: 0 / 0.6863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1472, allocations: 3.938 kB / 0.6863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1472, allocations: 0 / 0.6863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.1472, allocations: 23.92 kB / 0.6864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.1476, allocations: 338 kB / 0.6867 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.836e-05/0.1476, allocations: 14.58 kB / 0.6867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.1476, allocations: 4.859 kB / 0.6867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.1477, allocations: 85.17 kB / 0.6868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1477, allocations: 34.55 kB / 0.6868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1477, allocations: 4 kB / 0.6868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.1479, allocations: 41.64 kB / 0.6869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1479, allocations: 51.41 kB / 0.6869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.148, allocations: 97.84 kB / 0.687 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.148, allocations: 29.64 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.148, allocations: 92.05 kB / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.1481, allocations: 3.906 kB / 0.6871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1481, allocations: 13.84 kB / 0.6871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.1482, allocations: 326.8 kB / 0.6875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.1482, allocations: 4 kB / 0.6875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.1482, allocations: 13.72 kB / 0.6875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.1483, allocations: 25.64 kB / 0.6875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1483, allocations: 0 / 0.6875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.955e-05/0.1483, allocations: 49.7 kB / 0.6875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.1484, allocations: 4 kB / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1484, allocations: 0 / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1484, allocations: 0 / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.1484, allocations: 15.92 kB / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1484, allocations: 0 / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1484, allocations: 0 / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1485, allocations: 4 kB / 0.6876 GB, free: 1.066 MB / 494.1 MB 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.325e-05/0.1485, allocations: 117.7 kB / 0.6877 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1486, allocations: 4.062 kB / 0.6877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.901e-05/0.1487, allocations: 121 kB / 0.6878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.1487, allocations: 180.2 kB / 0.688 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/0.1488, allocations: 180.3 kB / 0.6881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.008e-05/0.1488, allocations: 180.2 kB / 0.6883 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2117/0.3606, allocations: 410.5 kB / 0.6887 GB, free: 18.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.3606, allocations: 106 kB / 0.6888 GB, free: 18.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.3606, allocations: 104.3 kB / 0.6889 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.3607, allocations: 181.6 kB / 0.6891 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3607, allocations: 181.2 kB / 0.6893 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/0.3607, allocations: 178.7 kB / 0.6894 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/0.3607, allocations: 182.6 kB / 0.6896 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.3608, allocations: 316.3 kB / 0.6899 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.3608, allocations: 188.5 kB / 0.6901 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3609, allocations: 178.7 kB / 0.6902 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.361, allocations: 105.9 kB / 0.6903 GB, free: 16.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.3611, allocations: 183.5 kB / 0.6905 GB, free: 16.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3611, allocations: 102.2 kB / 0.6906 GB, free: 16.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.981e-05/0.3611, allocations: 89.09 kB / 0.6907 GB, free: 16.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3611, allocations: 1.156 kB / 0.6907 GB, free: 16.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.3614, allocations: 17.52 kB / 0.6907 GB, free: 16.29 MB / 494.1 MB 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.0002068/0.3616, allocations: 195.5 kB / 0.6909 GB, free: 16.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.3617, allocations: 15.06 kB / 0.6909 GB, free: 16.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3617, allocations: 0.7188 kB / 0.6909 GB, free: 16.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3617, allocations: 0.5625 kB / 0.6909 GB, free: 16.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.362, allocations: 461.8 kB / 0.6914 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.3622, allocations: 191.1 kB / 0.6915 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.843e-05/0.3623, allocations: 0.674 MB / 0.6922 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.3623, allocations: 14.28 kB / 0.6922 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.3623, allocations: 11.03 kB / 0.6922 GB, free: 14.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3623, allocations: 0.8125 kB / 0.6922 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Templates: time 0.002599/0.3649, allocations: 0.6321 MB / 0.6928 GB, free: 14.78 MB / 494.1 MB 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)