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.001021/0.001021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008238/0.008238, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 270.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.992/0.992, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006025, allocations: 12.44 kB / 0.5986 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1652, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004356/0.1696, allocations: 3.406 MB / 0.6884 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001897/0.1698, allocations: 163.5 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.1699, allocations: 0.5 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.515e-05/0.17, allocations: 0.5625 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.17, allocations: 16.56 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1704, allocations: 77.42 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.692e-05/0.1705, allocations: 55.88 kB / 0.6887 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.1705, allocations: 0.6562 kB / 0.6887 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.1706, allocations: 23.92 kB / 0.6888 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1706, allocations: 16.47 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1706, allocations: 7.469 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.1712, allocations: 181.9 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.1712, allocations: 15.97 kB / 0.689 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.1713, allocations: 35.55 kB / 0.689 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1714, allocations: 48.16 kB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1714, allocations: 0 / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1714, allocations: 0 / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1714, allocations: 0 / 0.689 GB, free: 11.02 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.0003073/0.1717, allocations: 327.5 kB / 0.6894 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1718, allocations: 8.031 kB / 0.6894 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1718, allocations: 0.9375 kB / 0.6894 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1719, allocations: 176.3 kB / 0.6895 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.172, allocations: 26.27 kB / 0.6896 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.172, allocations: 384 / 0.6896 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1721, allocations: 49.56 kB / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1721, allocations: 0 / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1721, allocations: 7.938 kB / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1722, allocations: 4 kB / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.1722, allocations: 19.92 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.1726, allocations: 334 kB / 0.69 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.1727, allocations: 22.56 kB / 0.69 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.1727, allocations: 8.797 kB / 0.69 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.11e-05/0.1728, allocations: 89.16 kB / 0.6901 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1728, allocations: 38.56 kB / 0.6901 GB, free: 9.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1728, allocations: 0 / 0.6901 GB, free: 9.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.1729, allocations: 29.7 kB / 0.6901 GB, free: 9.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.173, allocations: 51.41 kB / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.1731, allocations: 109.8 kB / 0.6903 GB, free: 9.516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1731, allocations: 25.7 kB / 0.6903 GB, free: 9.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.1731, allocations: 84.27 kB / 0.6904 GB, free: 9.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.1731, allocations: 3.906 kB / 0.6904 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.1732, allocations: 13.72 kB / 0.6904 GB, free: 9.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1733, allocations: 322.8 kB / 0.6907 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.1733, allocations: 7.938 kB / 0.6907 GB, free: 9.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.1733, allocations: 13.72 kB / 0.6907 GB, free: 9.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.1734, allocations: 21.72 kB / 0.6908 GB, free: 8.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1734, allocations: 0 / 0.6908 GB, free: 8.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.95e-05/0.1735, allocations: 49.62 kB / 0.6908 GB, free: 8.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1735, allocations: 8 kB / 0.6908 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1735, allocations: 0 / 0.6908 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1735, allocations: 0 / 0.6908 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.1735, allocations: 7.984 kB / 0.6908 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.1736, allocations: 4 kB / 0.6908 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.1736, allocations: 0 / 0.6908 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1736, allocations: 0 / 0.6908 GB, free: 8.922 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.693e-05/0.1737, allocations: 119.2 kB / 0.6909 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1737, allocations: 0 / 0.6909 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1738, allocations: 131.7 kB / 0.6911 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/0.1739, allocations: 176.3 kB / 0.6912 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.113e-05/0.1739, allocations: 180.2 kB / 0.6914 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.414e-05/0.174, allocations: 184.3 kB / 0.6916 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1742, allocations: 409.1 kB / 0.692 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.39e-05/0.1742, allocations: 112.9 kB / 0.6921 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1743, allocations: 105 kB / 0.6922 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.385e-05/0.1743, allocations: 180.2 kB / 0.6924 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.1744, allocations: 180.3 kB / 0.6925 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-05/0.1745, allocations: 192.2 kB / 0.6927 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-05/0.1745, allocations: 176.3 kB / 0.6929 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1746, allocations: 311.7 kB / 0.6932 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1747, allocations: 178.1 kB / 0.6933 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.1748, allocations: 196.1 kB / 0.6935 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1749, allocations: 105 kB / 0.6936 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.175, allocations: 176.3 kB / 0.6938 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.175, allocations: 108.9 kB / 0.6939 GB, free: 5.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.205e-05/0.1751, allocations: 87.27 kB / 0.694 GB, free: 5.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1751, allocations: 4 kB / 0.694 GB, free: 5.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1753, allocations: 16 kB / 0.694 GB, free: 5.449 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.0002171/0.1756, allocations: 198.4 kB / 0.6942 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.1756, allocations: 12 kB / 0.6942 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1757, allocations: 0 / 0.6942 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.1757, allocations: 3.938 kB / 0.6942 GB, free: 5.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1761, allocations: 0.5251 MB / 0.6947 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.1763, allocations: 188.2 kB / 0.6949 GB, free: 4.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.1765, allocations: 0.677 MB / 0.6956 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.1766, allocations: 8 kB / 0.6956 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.1766, allocations: 15.38 kB / 0.6956 GB, free: 3.762 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1766, allocations: 0 / 0.6956 GB, free: 3.762 MB / 494.1 MB Notification: Performance of Templates: time 0.002555/0.1792, allocations: 0.6189 MB / 0.6962 GB, free: 3.156 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)