Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004979/0.004979, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001059/0.001059, allocations: 202 kB / 16.68 MB, free: 5.965 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.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.001978/0.001978, allocations: 274.9 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9269/0.9269, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 91.86 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1554, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002316/0.1578, allocations: 1.488 MB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1589, allocations: 0.8112 MB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.159, allocations: 0 / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.159, allocations: 3.938 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.1591, allocations: 15.86 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1595, allocations: 123.5 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.1596, allocations: 63.72 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.1597, allocations: 19.91 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.1597, allocations: 19.92 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.1598, allocations: 23.92 kB / 0.7689 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1598, allocations: 4 kB / 0.7689 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.1601, allocations: 171.8 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.1601, allocations: 15.92 kB / 0.7691 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.1602, allocations: 19.88 kB / 0.7691 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1604, allocations: 147.5 kB / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1604, allocations: 0 / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1605, allocations: 0 / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.1605, allocations: 0 / 0.7692 GB, free: 5.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005045/0.161, allocations: 406.9 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.161, allocations: 12.03 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1611, allocations: 12.88 kB / 0.7696 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1612, allocations: 172.3 kB / 0.7698 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1612, allocations: 384 / 0.7698 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1612, allocations: 4.375 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1614, allocations: 78.14 kB / 0.7699 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1615, allocations: 192 / 0.7699 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1615, allocations: 3.938 kB / 0.7699 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1615, allocations: 4 kB / 0.7699 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.1618, allocations: 67.92 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1621, allocations: 280.8 kB / 0.7702 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1623, allocations: 62.48 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.1625, allocations: 40.91 kB / 0.7703 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.1627, allocations: 89.17 kB / 0.7704 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1627, allocations: 34.56 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1627, allocations: 0 / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005233/0.1632, allocations: 129.6 kB / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1633, allocations: 55.34 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.1634, allocations: 125.7 kB / 0.7707 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1634, allocations: 29.7 kB / 0.7707 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1635, allocations: 88.12 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1635, allocations: 19.84 kB / 0.7709 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1635, allocations: 21.7 kB / 0.7709 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1637, allocations: 314.8 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1638, allocations: 27.97 kB / 0.7712 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1639, allocations: 35.95 kB / 0.7712 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1642, allocations: 72.72 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1642, allocations: 4 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003223/0.1646, allocations: 93.62 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1646, allocations: 4 kB / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1646, allocations: 4 kB / 0.7714 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1646, allocations: 3.938 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1648, allocations: 15.98 kB / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1648, allocations: 3.984 kB / 0.7714 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.1649, allocations: 15.94 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1649, allocations: 4 kB / 0.7714 GB, free: 3.008 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 (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.401e-05/0.1649, allocations: 114.4 kB / 0.7716 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.165, allocations: 4 kB / 0.7716 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.1653, allocations: 105.8 kB / 0.7717 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1653, allocations: 4.031 kB / 0.7717 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1653, allocations: 0 / 0.7717 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1654, allocations: 4 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1655, allocations: 173.6 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1655, allocations: 0 / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.1656, allocations: 19.92 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1656, allocations: 4 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1656, allocations: 0 / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1657, allocations: 4 kB / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1657, allocations: 3.984 kB / 0.7719 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.166, allocations: 199.4 kB / 0.7721 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.1661, allocations: 85.06 kB / 0.7721 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1661, allocations: 0 / 0.7721 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1662, allocations: 15.97 kB / 0.7721 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1662, allocations: 4 kB / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1663, allocations: 0 / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.1663, allocations: 95.27 kB / 0.7722 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1663, allocations: 0 / 0.7722 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002513/0.1666, allocations: 35.88 kB / 0.7723 GB, free: 2.051 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 (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 Backend phase and start with SimCode phase: time 0.0001839/0.1668, allocations: 139 kB / 0.7724 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.1671, allocations: 71.86 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1671, allocations: 0 / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1673, allocations: 35.97 kB / 0.7725 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1676, allocations: 14.27 kB / 0.7725 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.1679, allocations: 163 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1682, allocations: 0.6807 MB / 0.7733 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.487e-05/0.1682, allocations: 8 kB / 0.7734 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.1683, allocations: 7.438 kB / 0.7734 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1683, allocations: 0 / 0.7734 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Templates: time 0.3085/0.4767, allocations: 1.366 MB / 0.7747 GB, free: 14.51 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)