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.001065/0.001065, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00131/0.00131, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 263 kB / 291.3 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9612/0.9612, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 15.66 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003659/0.1411, allocations: 3.285 MB / 0.6877 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000165/0.1413, allocations: 149.5 kB / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.1413, allocations: 0 / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.88e-05/0.1414, allocations: 3.984 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.1415, allocations: 12.73 kB / 0.6878 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1418, allocations: 62.44 kB / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.009e-05/0.1419, allocations: 51.81 kB / 0.6879 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1419, allocations: 5.562 kB / 0.6879 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.1419, allocations: 11.98 kB / 0.688 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.142, allocations: 11.92 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.142, allocations: 4.594 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.1425, allocations: 144.8 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.1425, allocations: 7.984 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1425, allocations: 26.42 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.1426, allocations: 40.12 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1426, allocations: 0.875 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1426, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.1426, allocations: 0.625 kB / 0.6882 GB, free: 11.64 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.000295/0.1429, allocations: 325.3 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.143, allocations: 12.03 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.143, allocations: 3.953 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.508e-05/0.1431, allocations: 163 kB / 0.6887 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.1432, allocations: 33.7 kB / 0.6887 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1432, allocations: 4 kB / 0.6887 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1433, allocations: 45.61 kB / 0.6887 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1433, allocations: 0 / 0.6887 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1433, allocations: 0 / 0.6887 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.1434, allocations: 11.95 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.1434, allocations: 11.98 kB / 0.6888 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1438, allocations: 330 kB / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.292e-05/0.1438, allocations: 26.55 kB / 0.6891 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.1439, allocations: 4.859 kB / 0.6891 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.144, allocations: 89.11 kB / 0.6892 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.144, allocations: 38.52 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.144, allocations: 0 / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.1441, allocations: 37.69 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1442, allocations: 55.53 kB / 0.6893 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.1442, allocations: 97.86 kB / 0.6894 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1443, allocations: 25.7 kB / 0.6894 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.1443, allocations: 92.03 kB / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.1443, allocations: 0 / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.1443, allocations: 3.938 kB / 0.6895 GB, free: 10.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.1444, allocations: 314.8 kB / 0.6898 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.1444, allocations: 4 kB / 0.6898 GB, free: 9.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.1444, allocations: 21.7 kB / 0.6899 GB, free: 9.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.1445, allocations: 8 kB / 0.6899 GB, free: 9.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1445, allocations: 0 / 0.6899 GB, free: 9.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.328e-05/0.1446, allocations: 49.56 kB / 0.6899 GB, free: 9.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1446, allocations: 4 kB / 0.6899 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1446, allocations: 8.234 kB / 0.6899 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1446, allocations: 0 / 0.6899 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.951e-05/0.1447, allocations: 8.062 kB / 0.6899 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1447, allocations: 0 / 0.6899 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.1447, allocations: 7.906 kB / 0.6899 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1447, allocations: 4 kB / 0.6899 GB, free: 9.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.1448, allocations: 106.5 kB / 0.69 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1448, allocations: 11.97 kB / 0.6901 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.1449, allocations: 121.8 kB / 0.6902 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/0.145, allocations: 184.2 kB / 0.6903 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/0.145, allocations: 176.3 kB / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.235e-05/0.1451, allocations: 184.2 kB / 0.6907 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1453, allocations: 409.2 kB / 0.6911 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.1453, allocations: 104.9 kB / 0.6912 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.1453, allocations: 105 kB / 0.6913 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.964e-05/0.1454, allocations: 180.3 kB / 0.6914 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.1455, allocations: 180.2 kB / 0.6916 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-05/0.1455, allocations: 180.2 kB / 0.6918 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-05/0.1456, allocations: 192.2 kB / 0.692 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1457, allocations: 303.8 kB / 0.6923 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.1458, allocations: 190 kB / 0.6924 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.1458, allocations: 176.3 kB / 0.6926 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.146, allocations: 108.9 kB / 0.6927 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.146, allocations: 188.2 kB / 0.6929 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.1461, allocations: 105 kB / 0.693 GB, free: 6.215 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.1461, allocations: 95.16 kB / 0.6931 GB, free: 6.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 0.6931 GB, free: 6.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1464, allocations: 19.94 kB / 0.6931 GB, free: 6.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.1465, allocations: 186.5 kB / 0.6933 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.521e-05/0.1466, allocations: 7.984 kB / 0.6933 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1466, allocations: 0 / 0.6933 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-06/0.1466, allocations: 8.125 kB / 0.6933 GB, free: 5.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.147, allocations: 0.5231 MB / 0.6938 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.1472, allocations: 191.8 kB / 0.694 GB, free: 5.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1474, allocations: 0.6809 MB / 0.6947 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.1475, allocations: 6.25 kB / 0.6947 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.1475, allocations: 7.438 kB / 0.6947 GB, free: 4.43 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1475, allocations: 0 / 0.6947 GB, free: 4.43 MB / 494.1 MB Notification: Performance of Templates: time 0.00246/0.15, allocations: 0.5579 MB / 0.6952 GB, free: 3.887 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)