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.001107/0.001107, allocations: 104.4 kB / 16.35 MB, free: 6.289 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.001144/0.001144, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 278.1 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8882/0.8882, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 91.48 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1549, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002374/0.1573, allocations: 1.486 MB / 0.683 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1584, allocations: 0.8037 MB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.1584, allocations: 4 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.1585, allocations: 3.938 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.1585, allocations: 15.8 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.159, allocations: 131.4 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.159, allocations: 55.84 kB / 0.684 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.1592, allocations: 15.94 kB / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.1592, allocations: 19.92 kB / 0.6841 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.1593, allocations: 31.89 kB / 0.6841 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1593, allocations: 4 kB / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.1596, allocations: 163.8 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1596, allocations: 11.94 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1596, allocations: 27.84 kB / 0.6843 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1599, allocations: 147.6 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1599, allocations: 0 / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1599, allocations: 0 / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1599, allocations: 3.938 kB / 0.6844 GB, free: 4.531 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.0004943/0.1604, allocations: 399.3 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1605, allocations: 8.031 kB / 0.6848 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1605, allocations: 8.844 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1606, allocations: 176.3 kB / 0.685 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1606, allocations: 384 / 0.685 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1606, allocations: 384 / 0.685 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1609, allocations: 78.16 kB / 0.6851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1609, allocations: 4.188 kB / 0.6851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1609, allocations: 7.938 kB / 0.6851 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1609, allocations: 0 / 0.6851 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.1612, allocations: 63.92 kB / 0.6851 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.1615, allocations: 284.8 kB / 0.6854 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1617, allocations: 62.47 kB / 0.6855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1619, allocations: 32.92 kB / 0.6855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.1621, allocations: 89.09 kB / 0.6856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1621, allocations: 42.56 kB / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1621, allocations: 0 / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000479/0.1626, allocations: 133.6 kB / 0.6858 GB, free: 2.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.1626, allocations: 55.34 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.1627, allocations: 125.8 kB / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1627, allocations: 25.7 kB / 0.686 GB, free: 2.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.1628, allocations: 88.12 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1628, allocations: 11.81 kB / 0.6861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1628, allocations: 13.72 kB / 0.6861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.1629, allocations: 326.7 kB / 0.6864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1631, allocations: 31.97 kB / 0.6864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1632, allocations: 39.94 kB / 0.6864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1634, allocations: 60.8 kB / 0.6865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1634, allocations: 0 / 0.6865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000287/0.1637, allocations: 109.5 kB / 0.6866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1637, allocations: 4 kB / 0.6866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1638, allocations: 0 / 0.6866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1638, allocations: 0 / 0.6866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1639, allocations: 15.98 kB / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.1639, allocations: 0 / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.164, allocations: 19.98 kB / 0.6866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.164, allocations: 4 kB / 0.6866 GB, free: 2.012 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 6.653e-05/0.1641, allocations: 121.7 kB / 0.6868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1641, allocations: 3.906 kB / 0.6868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.1644, allocations: 105.5 kB / 0.6869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1644, allocations: 0 / 0.6869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1644, allocations: 7.938 kB / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1645, allocations: 0 / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1646, allocations: 181.6 kB / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1646, allocations: 0 / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.1647, allocations: 15.98 kB / 0.6871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1647, allocations: 4 kB / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1647, allocations: 0 / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1647, allocations: 0 / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1647, allocations: 0 / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.1651, allocations: 203.3 kB / 0.6873 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.1651, allocations: 81.11 kB / 0.6873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1651, allocations: 0 / 0.6873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.1652, allocations: 11.98 kB / 0.6874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1653, allocations: 7.984 kB / 0.6874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1653, allocations: 4 kB / 0.6874 GB, free: 1.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.316e-05/0.1654, allocations: 95.27 kB / 0.6875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1654, allocations: 7.875 kB / 0.6875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1656, allocations: 24 kB / 0.6875 GB, free: 1.051 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.0001771/0.1658, allocations: 134.1 kB / 0.6876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.1661, allocations: 75.86 kB / 0.6877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1661, allocations: 0 / 0.6877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1663, allocations: 35.95 kB / 0.6877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1665, allocations: 8.359 kB / 0.6877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.1668, allocations: 155.1 kB / 0.6879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.24/0.4068, allocations: 0.682 MB / 0.6885 GB, free: 17.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.4069, allocations: 3.031 kB / 0.6885 GB, free: 17.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.407, allocations: 10.69 kB / 0.6886 GB, free: 17.61 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.407, allocations: 0 / 0.6886 GB, free: 17.61 MB / 494.1 MB Notification: Performance of Templates: time 0.004081/0.4111, allocations: 1.377 MB / 0.6899 GB, free: 17.58 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)