Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006895/0.0006895, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000719/0.000719, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8135/0.8135, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001335/0.001335, allocations: 230.2 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6428/0.6428, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.771e-05, allocations: 9.031 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.2437/0.2437, allocations: 1.633 MB / 0.6491 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.116/0.3597, allocations: 133.2 MB / 0.7792 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3598, allocations: 0 / 0.7792 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.36, allocations: 15.86 kB / 0.7792 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.3602, allocations: 55.52 kB / 0.7793 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.3606, allocations: 147.4 kB / 0.7794 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3608, allocations: 123.5 kB / 0.7795 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3609, allocations: 25.5 kB / 0.7795 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.3617, allocations: 189.7 kB / 0.7797 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.3618, allocations: 35.91 kB / 0.7798 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3618, allocations: 4 kB / 0.7798 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.3621, allocations: 179.6 kB / 0.7799 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.3621, allocations: 23.92 kB / 0.78 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3622, allocations: 36.47 kB / 0.78 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.3625, allocations: 211.2 kB / 0.7802 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3625, allocations: 0 / 0.7802 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3625, allocations: 0 / 0.7802 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3625, allocations: 0 / 0.7802 GB, free: 2.906 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000479/0.363, allocations: 374.4 kB / 0.7805 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.363, allocations: 9.938 kB / 0.7806 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.3636, allocations: 91.97 kB / 0.7806 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3637, allocations: 149 kB / 0.7808 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3638, allocations: 9.438 kB / 0.7808 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3638, allocations: 8 kB / 0.7808 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.364, allocations: 137.5 kB / 0.7809 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3641, allocations: 0 / 0.7809 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3641, allocations: 0 / 0.7809 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3641, allocations: 4 kB / 0.7809 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.3643, allocations: 139.9 kB / 0.7811 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3648, allocations: 335 kB / 0.7814 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.3652, allocations: 162.6 kB / 0.7815 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3653, allocations: 76.73 kB / 0.7816 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3653, allocations: 4 kB / 0.7816 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3653, allocations: 38.5 kB / 0.7817 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.3653, allocations: 0 / 0.7817 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004365/0.3658, allocations: 218.1 kB / 0.7819 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3658, allocations: 51.41 kB / 0.7819 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.3659, allocations: 139.6 kB / 0.782 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3659, allocations: 25.7 kB / 0.7821 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.366, allocations: 104.1 kB / 0.7822 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.366, allocations: 27.89 kB / 0.7822 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.366, allocations: 29.7 kB / 0.7822 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.3661, allocations: 322.8 kB / 0.7825 GB, free: 360 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3662, allocations: 47.95 kB / 0.7826 GB, free: 312 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3664, allocations: 125.9 kB / 0.7827 GB, free: 164 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3666, allocations: 131.4 kB / 0.7828 GB, free: 36 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3666, allocations: 0 / 0.7828 GB, free: 36 kB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002671/0.3668, allocations: 165.5 kB / 0.783 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3668, allocations: 4 kB / 0.783 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3669, allocations: 3.984 kB / 0.783 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3669, allocations: 4 kB / 0.783 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.367, allocations: 27.95 kB / 0.783 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.367, allocations: 0 / 0.783 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.367, allocations: 23.94 kB / 0.783 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3671, allocations: 7.938 kB / 0.7831 GB, free: 15.8 MB / 0.6198 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 (8): * Single equations (assignments): 8 * 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.227e-05/0.3671, allocations: 122.5 kB / 0.7832 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.3671, allocations: 11.89 kB / 0.7832 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.3672, allocations: 16.06 kB / 0.7832 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3672, allocations: 4 kB / 0.7832 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3672, allocations: 0 / 0.7832 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3672, allocations: 0 / 0.7832 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3677, allocations: 397.9 kB / 0.7836 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3677, allocations: 4 kB / 0.7836 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.3678, allocations: 27.91 kB / 0.7836 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3678, allocations: 3.984 kB / 0.7836 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3678, allocations: 4 kB / 0.7836 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3678, allocations: 4 kB / 0.7836 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3678, allocations: 0 / 0.7836 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.368, allocations: 255.3 kB / 0.7839 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.3681, allocations: 7.953 kB / 0.7839 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3681, allocations: 0 / 0.7839 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.3681, allocations: 22.17 kB / 0.7839 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3682, allocations: 11.92 kB / 0.7839 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.3682, allocations: 3.984 kB / 0.7839 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.3682, allocations: 105.8 kB / 0.784 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.3682, allocations: 3.938 kB / 0.784 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001801/0.3684, allocations: 27.94 kB / 0.784 GB, free: 14.73 MB / 0.6198 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 (8): * Single equations (assignments): 8 * 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.0001534/0.3686, allocations: 115.2 kB / 0.7842 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.3689, allocations: 123.9 kB / 0.7843 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3689, allocations: 0 / 0.7843 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.369, allocations: 74.83 kB / 0.7843 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.3692, allocations: 29.42 kB / 0.7844 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.3696, allocations: 257.5 kB / 0.7846 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.197e-05/0.3697, allocations: 89.03 kB / 0.7847 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3697, allocations: 20.48 kB / 0.7847 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.3697, allocations: 0 / 0.7847 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.002537/0.3723, allocations: 1.725 MB / 0.7864 GB, free: 12.27 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.421027589589357] Failed to read output from testmodel.py, exit status != 0: 0.3785047447308898 0.38551109 0.021412905000000003 Calling exit ...