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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.002101, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 92.39 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1674, allocations: 86.99 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002815/0.1702, allocations: 1.275 MB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1716, allocations: 0.8192 MB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.1717, allocations: 0 / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1717, allocations: 3.938 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.1717, allocations: 0 / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.1723, allocations: 139.4 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.1724, allocations: 27.86 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1725, allocations: 4 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.1725, allocations: 7.938 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.1726, allocations: 11.98 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1726, allocations: 4 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.173, allocations: 163.8 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.173, allocations: 7.938 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.173, allocations: 8 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1733, allocations: 116 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1733, allocations: 7.938 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1733, allocations: 0 / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1733, allocations: 0 / 0.6827 GB, free: 14.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004763/0.1738, allocations: 367.4 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1739, allocations: 8.031 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.1739, allocations: 4.844 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.174, allocations: 164.4 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.1741, allocations: 30.25 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1742, allocations: 8.375 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1743, allocations: 42.25 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1743, allocations: 3.938 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1743, allocations: 0 / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1743, allocations: 0 / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.1744, allocations: 27.86 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1746, allocations: 153.7 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1748, allocations: 50.61 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.1749, allocations: 20.94 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.1752, allocations: 178.2 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1752, allocations: 30.56 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1752, allocations: 0 / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002765/0.1755, allocations: 77.55 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1756, allocations: 51.41 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.1756, allocations: 98.05 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1757, allocations: 25.7 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.1757, allocations: 80.14 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1757, allocations: 23.72 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1758, allocations: 13.72 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1759, allocations: 318.8 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.176, allocations: 11.98 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.176, allocations: 12.17 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.1761, allocations: 28.84 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1761, allocations: 0 / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.1763, allocations: 57.61 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1763, allocations: 11.94 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1763, allocations: 7.938 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1763, allocations: 4 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.1764, allocations: 8 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1764, allocations: 0 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.1764, allocations: 0 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1764, allocations: 4 kB / 0.6845 GB, free: 11.94 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 (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 7.839e-05/0.1765, allocations: 115.1 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.1765, allocations: 7.844 kB / 0.6847 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.1767, allocations: 73.11 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1767, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1767, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1767, allocations: 0 / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1769, allocations: 157.7 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1769, allocations: 0 / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.1769, allocations: 4 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1769, allocations: 3.938 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.177, allocations: 11.98 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.177, allocations: 0 / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.177, allocations: 0 / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1771, allocations: 85.06 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.1772, allocations: 85 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1772, allocations: 7.875 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.1773, allocations: 4 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1773, allocations: 3.984 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1773, allocations: 4 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.1774, allocations: 83.28 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1774, allocations: 0 / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1776, allocations: 35.94 kB / 0.6852 GB, free: 11.17 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 (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.0002278/0.1779, allocations: 135.2 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.178, allocations: 28.34 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.178, allocations: 3.938 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.1781, allocations: 15.94 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1783, allocations: 12.73 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.1786, allocations: 127.9 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.1788, allocations: 0.6729 MB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.1789, allocations: 15.97 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.1789, allocations: 7.438 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1789, allocations: 0 / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of Templates: time 0.003167/0.1821, allocations: 1.074 MB / 0.6872 GB, free: 9.023 MB / 494.1 MB 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)