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.001181/0.001181, allocations: 101.2 kB / 15.98 MB, free: 6.359 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.001071/0.001071, allocations: 197.3 kB / 16.91 MB, free: 6.191 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.202/1.202, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 290.8 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8744/0.8744, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 95.41 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 86.97 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002475/0.1592, allocations: 1.553 MB / 0.6818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1604, allocations: 0.796 MB / 0.6826 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.1605, allocations: 4 kB / 0.6826 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1605, allocations: 7.938 kB / 0.6826 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.1606, allocations: 7.922 kB / 0.6826 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.161, allocations: 119.5 kB / 0.6827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.1611, allocations: 47.84 kB / 0.6827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.1612, allocations: 20.2 kB / 0.6828 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.1612, allocations: 27.92 kB / 0.6828 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.1613, allocations: 19.92 kB / 0.6828 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1613, allocations: 4 kB / 0.6828 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1616, allocations: 183.7 kB / 0.683 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1616, allocations: 7.938 kB / 0.683 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.1616, allocations: 23.86 kB / 0.683 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1618, allocations: 103.8 kB / 0.6831 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1618, allocations: 0 / 0.6831 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1618, allocations: 3.938 kB / 0.6831 GB, free: 5.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1618, allocations: 0 / 0.6831 GB, free: 5.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005188/0.1624, allocations: 391.3 kB / 0.6835 GB, free: 5.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1624, allocations: 12.03 kB / 0.6835 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1624, allocations: 8.844 kB / 0.6835 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1626, allocations: 172.2 kB / 0.6837 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1626, allocations: 8.375 kB / 0.6837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1626, allocations: 384 / 0.6837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1628, allocations: 86.17 kB / 0.6838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1629, allocations: 192 / 0.6838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1629, allocations: 3.938 kB / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1629, allocations: 7.938 kB / 0.6838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.1632, allocations: 67.92 kB / 0.6838 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1636, allocations: 288.7 kB / 0.6841 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1638, allocations: 50.55 kB / 0.6842 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1639, allocations: 40.91 kB / 0.6842 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.1641, allocations: 89.09 kB / 0.6843 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1641, allocations: 34.56 kB / 0.6843 GB, free: 4.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1641, allocations: 0 / 0.6843 GB, free: 4.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00051/0.1646, allocations: 137.4 kB / 0.6844 GB, free: 4.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1647, allocations: 51.41 kB / 0.6845 GB, free: 4.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.1648, allocations: 117.8 kB / 0.6846 GB, free: 3.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1648, allocations: 29.7 kB / 0.6846 GB, free: 3.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.1649, allocations: 84.14 kB / 0.6847 GB, free: 3.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.1649, allocations: 15.8 kB / 0.6847 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.1649, allocations: 13.72 kB / 0.6847 GB, free: 3.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1651, allocations: 322.8 kB / 0.6851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1652, allocations: 35.95 kB / 0.6851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1653, allocations: 27.97 kB / 0.6851 GB, free: 3.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.1656, allocations: 72.72 kB / 0.6852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1656, allocations: 0 / 0.6852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002985/0.1659, allocations: 97.62 kB / 0.6853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1659, allocations: 10.03 kB / 0.6853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1659, allocations: 0 / 0.6853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1659, allocations: 0 / 0.6853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1661, allocations: 19.97 kB / 0.6853 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1661, allocations: 4 kB / 0.6853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.1661, allocations: 7.984 kB / 0.6853 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.1662, allocations: 11.94 kB / 0.6853 GB, free: 3.129 MB / 494.1 MB 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 7.168e-05/0.1662, allocations: 117.7 kB / 0.6854 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1663, allocations: 7.906 kB / 0.6854 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.1666, allocations: 109.5 kB / 0.6856 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1666, allocations: 0 / 0.6856 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1667, allocations: 4 kB / 0.6856 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1667, allocations: 4.312 kB / 0.6856 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1668, allocations: 177.6 kB / 0.6857 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1669, allocations: 0 / 0.6857 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.1669, allocations: 15.98 kB / 0.6857 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.167, allocations: 0 / 0.6857 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.167, allocations: 3.984 kB / 0.6857 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.167, allocations: 4 kB / 0.6858 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.167, allocations: 3.984 kB / 0.6858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.1674, allocations: 203.3 kB / 0.686 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.1674, allocations: 77.11 kB / 0.686 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1674, allocations: 4 kB / 0.686 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1675, allocations: 11.97 kB / 0.686 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1676, allocations: 4 kB / 0.686 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1676, allocations: 4 kB / 0.686 GB, free: 2.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.1677, allocations: 95.7 kB / 0.6861 GB, free: 2.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1677, allocations: 0 / 0.6861 GB, free: 2.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.168, allocations: 32 kB / 0.6862 GB, free: 2.164 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 (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.0002012/0.1682, allocations: 127.2 kB / 0.6863 GB, free: 2.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.1685, allocations: 71.92 kB / 0.6864 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1685, allocations: 0 / 0.6864 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1687, allocations: 47.89 kB / 0.6864 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.169, allocations: 7.938 kB / 0.6864 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.1693, allocations: 191.9 kB / 0.6866 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1695, allocations: 0.6807 MB / 0.6873 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1696, allocations: 11.44 kB / 0.6873 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1696, allocations: 0 / 0.6873 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Templates: time 0.2341/0.4037, allocations: 1.211 MB / 0.6885 GB, free: 17.77 MB / 494.1 MB 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)