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.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 287 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9234/0.9234, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 92.45 kB / 0.5952 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1456, allocations: 86.97 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005072/0.1508, allocations: 3.724 MB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001811/0.151, allocations: 155.5 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.151, allocations: 0 / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.157e-05/0.1511, allocations: 7.938 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.1512, allocations: 7.984 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1515, allocations: 87.69 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.1515, allocations: 31.91 kB / 0.6841 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.1516, allocations: 4 kB / 0.6841 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1516, allocations: 15.92 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.1517, allocations: 15.92 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1517, allocations: 0 / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.1522, allocations: 195.7 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.1522, allocations: 4 kB / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1522, allocations: 11.92 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1524, allocations: 43.89 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1524, allocations: 0 / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1524, allocations: 0 / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1524, allocations: 0 / 0.6843 GB, free: 12.39 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.0003273/0.1527, allocations: 335.5 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1528, allocations: 8.031 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.1528, allocations: 12.84 kB / 0.6847 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1529, allocations: 164.3 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.153, allocations: 26.27 kB / 0.6849 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.153, allocations: 8.375 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1531, allocations: 49.59 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1531, allocations: 0 / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1531, allocations: 3.938 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1531, allocations: 0 / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.1532, allocations: 19.98 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1536, allocations: 334 kB / 0.6853 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.1536, allocations: 26.55 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.1536, allocations: 4.859 kB / 0.6853 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.254e-05/0.1537, allocations: 85.17 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1538, allocations: 30.56 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.1538, allocations: 4 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.1539, allocations: 41.69 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1539, allocations: 55.34 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.154, allocations: 97.86 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.154, allocations: 25.7 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.1541, allocations: 92.03 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.1541, allocations: 7.844 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1541, allocations: 17.84 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1542, allocations: 318.8 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.1542, allocations: 7.984 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.1543, allocations: 13.72 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.124e-05/0.1543, allocations: 17.72 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1543, allocations: 0 / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.292e-05/0.1544, allocations: 57.62 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1544, allocations: 4 kB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1544, allocations: 0 / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1544, allocations: 0 / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.1545, allocations: 4 kB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1545, allocations: 7.984 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.1545, allocations: 0 / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1545, allocations: 0 / 0.6861 GB, free: 10.27 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 7.353e-05/0.1546, allocations: 123 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1547, allocations: 8.062 kB / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1548, allocations: 123.5 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/0.1548, allocations: 180.2 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.724e-05/0.1549, allocations: 180.3 kB / 0.6867 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.353e-05/0.155, allocations: 176.3 kB / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1552, allocations: 421.1 kB / 0.6873 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.1552, allocations: 108.9 kB / 0.6874 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.1553, allocations: 104.9 kB / 0.6875 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.1553, allocations: 184.2 kB / 0.6877 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.1554, allocations: 180.3 kB / 0.6879 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-05/0.1554, allocations: 180.2 kB / 0.688 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-05/0.1555, allocations: 180.3 kB / 0.6882 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1556, allocations: 311.7 kB / 0.6885 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.1557, allocations: 182.1 kB / 0.6887 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.1558, allocations: 184.2 kB / 0.6888 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1559, allocations: 109 kB / 0.6889 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.156, allocations: 184.5 kB / 0.6891 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.1561, allocations: 105 kB / 0.6892 GB, free: 6.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.1561, allocations: 79.28 kB / 0.6893 GB, free: 6.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1561, allocations: 0 / 0.6893 GB, free: 6.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.1564, allocations: 15.98 kB / 0.6893 GB, free: 6.805 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.0002289/0.1566, allocations: 202.5 kB / 0.6895 GB, free: 6.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.383e-05/0.1567, allocations: 19.92 kB / 0.6895 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1567, allocations: 0 / 0.6895 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.1567, allocations: 0 / 0.6895 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.157, allocations: 460.5 kB / 0.69 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.1573, allocations: 189.8 kB / 0.6901 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1575, allocations: 0.669 MB / 0.6908 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.1575, allocations: 11.97 kB / 0.6908 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.1576, allocations: 11.44 kB / 0.6908 GB, free: 5.195 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1576, allocations: 7.938 kB / 0.6908 GB, free: 5.188 MB / 494.1 MB Notification: Performance of Templates: time 0.002604/0.1602, allocations: 0.6362 MB / 0.6914 GB, free: 4.57 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)