Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007764/0.007764, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001754/0.001754, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 291 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 92.28 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1621, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002024/0.1641, allocations: 1.274 MB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1653, allocations: 0.8346 MB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.1653, allocations: 0 / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1653, allocations: 0 / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.1654, allocations: 7.922 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1658, allocations: 127.4 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.1659, allocations: 23.92 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1659, allocations: 3.984 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.166, allocations: 15.92 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.166, allocations: 15.98 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1661, allocations: 0 / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.1664, allocations: 163.7 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1664, allocations: 11.92 kB / 0.7688 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1664, allocations: 8 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1666, allocations: 123.6 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1667, allocations: 0 / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1667, allocations: 0 / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1667, allocations: 0 / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004067/0.1671, allocations: 375.1 kB / 0.7693 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.1671, allocations: 8.031 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.1672, allocations: 4.938 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1673, allocations: 164.3 kB / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.1673, allocations: 34.25 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.1673, allocations: 4.312 kB / 0.7695 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1675, allocations: 42.25 kB / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1675, allocations: 3.938 kB / 0.7695 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1675, allocations: 0 / 0.7695 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1675, allocations: 4 kB / 0.7695 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.1676, allocations: 19.98 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1678, allocations: 157.7 kB / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1679, allocations: 46.61 kB / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.168, allocations: 24.88 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.1683, allocations: 182.2 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1683, allocations: 30.56 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1683, allocations: 0 / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002239/0.1685, allocations: 69.61 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1686, allocations: 51.41 kB / 0.7701 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.1687, allocations: 97.86 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1687, allocations: 29.7 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.1687, allocations: 80.14 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1687, allocations: 23.83 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.1688, allocations: 17.66 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.1689, allocations: 314.8 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.1689, allocations: 11.98 kB / 0.7706 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.169, allocations: 8.016 kB / 0.7706 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.1691, allocations: 32.84 kB / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1691, allocations: 0 / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001271/0.1692, allocations: 57.67 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1692, allocations: 7.938 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1692, allocations: 0 / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1692, allocations: 0 / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.1693, allocations: 19.94 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1693, allocations: 0 / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.1693, allocations: 3.938 kB / 0.7708 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1694, allocations: 4 kB / 0.7708 GB, free: 3.645 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.399e-05/0.1694, allocations: 114.5 kB / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.1694, allocations: 11.89 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.1696, allocations: 65.16 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1696, allocations: 0 / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1696, allocations: 0 / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1696, allocations: 4 kB / 0.771 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1697, allocations: 157.7 kB / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1698, allocations: 0.5625 kB / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1698, allocations: 15.94 kB / 0.7711 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1698, allocations: 3.938 kB / 0.7711 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1698, allocations: 3.984 kB / 0.7711 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1698, allocations: 0 / 0.7711 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1698, allocations: 0 / 0.7711 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.17, allocations: 85.12 kB / 0.7712 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.17, allocations: 85.05 kB / 0.7713 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1701, allocations: 7.938 kB / 0.7713 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.1701, allocations: 4 kB / 0.7713 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1702, allocations: 11.98 kB / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1702, allocations: 0 / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.1702, allocations: 79.28 kB / 0.7714 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1702, allocations: 0 / 0.7714 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002186/0.1704, allocations: 31.81 kB / 0.7714 GB, free: 2.875 MB / 0.5606 GB 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 (4): * Single equations (assignments): 4 * 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.0001871/0.1706, allocations: 143.1 kB / 0.7716 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1708, allocations: 35.91 kB / 0.7716 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1708, allocations: 0 / 0.7716 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.1708, allocations: 16 kB / 0.7716 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.171, allocations: 7.938 kB / 0.7716 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.1713, allocations: 123.1 kB / 0.7717 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1715, allocations: 0.6806 MB / 0.7724 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.1715, allocations: 7.984 kB / 0.7724 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.1716, allocations: 11.44 kB / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1716, allocations: 0 / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.002958/0.1745, allocations: 1.069 MB / 0.7735 GB, free: 0.7266 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)