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.001048/0.001048, allocations: 105 kB / 16.35 MB, free: 5.824 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.001014/0.001014, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 284.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 94.98 kB / 0.5966 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004713/0.1489, allocations: 3.709 MB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.1491, allocations: 151.5 kB / 0.6853 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.1491, allocations: 0 / 0.6853 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.732e-05/0.1492, allocations: 15.88 kB / 0.6854 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.1493, allocations: 11.91 kB / 0.6854 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1496, allocations: 87.69 kB / 0.6855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.1497, allocations: 27.86 kB / 0.6855 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.1497, allocations: 7.984 kB / 0.6855 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.1497, allocations: 15.98 kB / 0.6855 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.1498, allocations: 11.94 kB / 0.6855 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1498, allocations: 7.984 kB / 0.6855 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.1503, allocations: 187.4 kB / 0.6857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.1503, allocations: 8 kB / 0.6857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.1504, allocations: 15.91 kB / 0.6857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1505, allocations: 47.84 kB / 0.6858 GB, free: 3.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1505, allocations: 0 / 0.6858 GB, free: 3.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1505, allocations: 0 / 0.6858 GB, free: 3.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1505, allocations: 0 / 0.6858 GB, free: 3.145 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.0003268/0.1508, allocations: 335.5 kB / 0.6861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1509, allocations: 8.031 kB / 0.6861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1509, allocations: 8.844 kB / 0.6861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.151, allocations: 164.4 kB / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.1511, allocations: 26.27 kB / 0.6863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.1511, allocations: 4.375 kB / 0.6863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.1512, allocations: 53.55 kB / 0.6863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1512, allocations: 0 / 0.6863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1512, allocations: 3.984 kB / 0.6863 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1513, allocations: 4 kB / 0.6864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.1513, allocations: 19.92 kB / 0.6864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.1517, allocations: 330 kB / 0.6867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.1517, allocations: 22.58 kB / 0.6867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.1517, allocations: 4.859 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-05/0.1518, allocations: 85.17 kB / 0.6868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1519, allocations: 38.56 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1519, allocations: 0 / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.152, allocations: 37.62 kB / 0.6869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.152, allocations: 55.41 kB / 0.6869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.1521, allocations: 97.86 kB / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1521, allocations: 29.69 kB / 0.687 GB, free: 1.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1522, allocations: 92.05 kB / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-06/0.1522, allocations: 8.031 kB / 0.6871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.1522, allocations: 13.72 kB / 0.6871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.1523, allocations: 318.8 kB / 0.6875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.1523, allocations: 7.984 kB / 0.6875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.1524, allocations: 17.66 kB / 0.6875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.1524, allocations: 21.66 kB / 0.6875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1524, allocations: 4 kB / 0.6875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.909e-05/0.1525, allocations: 45.69 kB / 0.6875 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1525, allocations: 9.875 kB / 0.6876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1525, allocations: 3.938 kB / 0.6876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1525, allocations: 0 / 0.6876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.1526, allocations: 7.984 kB / 0.6876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1526, allocations: 7.984 kB / 0.6876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.1526, allocations: 0 / 0.6876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1526, allocations: 0 / 0.6876 GB, free: 1.023 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 5.952e-05/0.1527, allocations: 121.8 kB / 0.6877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1527, allocations: 0 / 0.6877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-05/0.1528, allocations: 121 kB / 0.6878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/0.1529, allocations: 180.2 kB / 0.688 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.1529, allocations: 176.3 kB / 0.6881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-05/0.153, allocations: 192.1 kB / 0.6883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2314/0.3844, allocations: 403.2 kB / 0.6887 GB, free: 18.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.3844, allocations: 101.6 kB / 0.6888 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.3844, allocations: 107.6 kB / 0.6889 GB, free: 18.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/0.3845, allocations: 182 kB / 0.6891 GB, free: 18.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3845, allocations: 178.3 kB / 0.6893 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/0.3845, allocations: 183.7 kB / 0.6894 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-05/0.3845, allocations: 177.8 kB / 0.6896 GB, free: 18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.896e-05/0.3846, allocations: 319.1 kB / 0.6899 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.3847, allocations: 181.2 kB / 0.6901 GB, free: 17.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3847, allocations: 182.4 kB / 0.6903 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3849, allocations: 109.8 kB / 0.6904 GB, free: 17.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.3849, allocations: 186.2 kB / 0.6905 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3849, allocations: 103.2 kB / 0.6906 GB, free: 16.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.385, allocations: 87.67 kB / 0.6907 GB, free: 16.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.385, allocations: 0 / 0.6907 GB, free: 16.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3852, allocations: 14.11 kB / 0.6907 GB, free: 16.84 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.0002066/0.3854, allocations: 195.9 kB / 0.6909 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.586e-05/0.3855, allocations: 16 kB / 0.6909 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3855, allocations: 0 / 0.6909 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.3855, allocations: 0.7188 kB / 0.6909 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.3858, allocations: 460.1 kB / 0.6914 GB, free: 16.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.386, allocations: 185.9 kB / 0.6915 GB, free: 16.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.3861, allocations: 0.6753 MB / 0.6922 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.3862, allocations: 8.891 kB / 0.6922 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.3862, allocations: 14.08 kB / 0.6922 GB, free: 15.36 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3862, allocations: 0.7188 kB / 0.6922 GB, free: 15.36 MB / 494.1 MB Notification: Performance of Templates: time 0.002566/0.3888, allocations: 0.635 MB / 0.6929 GB, free: 15.33 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)