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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 189.2 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"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: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 292 kB / 306.5 MB, free: 8.301 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.17/1.17, allocations: 180.9 MB / 0.53 GB, free: 14.51 MB / 382.1 MB
"
[Timeout remaining time 179]
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.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 0.002633/0.002633, allocations: 105.1 kB / 0.7308 GB, free: 38.82 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1677, allocations: 94.19 MB / 0.8228 GB, free: 1.844 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002855/0.1706, allocations: 1.665 MB / 0.8244 GB, free: 172 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.1789/0.3495, allocations: 152.1 MB / 0.973 GB, free: 7.488 MB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3496, allocations: 0 / 0.973 GB, free: 7.488 MB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3498, allocations: 15.81 kB / 0.973 GB, free: 7.473 MB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.35, allocations: 47.69 kB / 0.973 GB, free: 7.426 MB / 0.7169 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.3504, allocations: 151.4 kB / 0.9732 GB, free: 7.277 MB / 0.7169 GB
Notification: Performance of NFFlatten.flatten: time 0.0002095/0.3506, allocations: 123.6 kB / 0.9733 GB, free: 7.156 MB / 0.7169 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3507, allocations: 25.48 kB / 0.9733 GB, free: 7.129 MB / 0.7169 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.3521, allocations: 192.6 kB / 0.9735 GB, free: 6.965 MB / 0.7169 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.3522, allocations: 43.78 kB / 0.9735 GB, free: 6.922 MB / 0.7169 GB
Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3522, allocations: 8 kB / 0.9735 GB, free: 6.914 MB / 0.7169 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.3526, allocations: 175.7 kB / 0.9737 GB, free: 6.742 MB / 0.7169 GB
Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.3526, allocations: 27.91 kB / 0.9737 GB, free: 6.715 MB / 0.7169 GB
Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3527, allocations: 51.73 kB / 0.9738 GB, free: 6.664 MB / 0.7169 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.353, allocations: 183.3 kB / 0.974 GB, free: 6.484 MB / 0.7169 GB
Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.353, allocations: 0 / 0.974 GB, free: 6.484 MB / 0.7169 GB
Notification: Performance of FrontEnd: time 1.362e-06/0.353, allocations: 0 / 0.974 GB, free: 6.484 MB / 0.7169 GB
Notification: Performance of Transformations before backend: time 5.18e-06/0.353, allocations: 0 / 0.974 GB, free: 6.484 MB / 0.7169 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.0006367/0.3537, allocations: 377.5 kB / 0.9743 GB, free: 6.086 MB / 0.7169 GB
Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3537, allocations: 8.031 kB / 0.9743 GB, free: 6.078 MB / 0.7169 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.3546, allocations: 79.98 kB / 0.9744 GB, free: 6 MB / 0.7169 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3548, allocations: 149 kB / 0.9745 GB, free: 5.828 MB / 0.7169 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3549, allocations: 7.938 kB / 0.9746 GB, free: 5.82 MB / 0.7169 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3549, allocations: 12 kB / 0.9746 GB, free: 5.809 MB / 0.7169 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.3553, allocations: 144.2 kB / 0.9747 GB, free: 5.664 MB / 0.7169 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3553, allocations: 0 / 0.9747 GB, free: 5.664 MB / 0.7169 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3553, allocations: 0 / 0.9747 GB, free: 5.664 MB / 0.7169 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3554, allocations: 3.938 kB / 0.9747 GB, free: 5.66 MB / 0.7169 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.3559, allocations: 139.9 kB / 0.9748 GB, free: 5.523 MB / 0.7169 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.3567, allocations: 387.6 kB / 0.9752 GB, free: 5.102 MB / 0.7169 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.3574, allocations: 170.6 kB / 0.9754 GB, free: 4.926 MB / 0.7169 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.3577, allocations: 76.8 kB / 0.9754 GB, free: 4.848 MB / 0.7169 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3577, allocations: 0 / 0.9754 GB, free: 4.848 MB / 0.7169 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3578, allocations: 38.5 kB / 0.9755 GB, free: 4.801 MB / 0.7169 GB
Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3578, allocations: 0 / 0.9755 GB, free: 4.801 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=8): time 0.0008195/0.3586, allocations: 209.5 kB / 0.9757 GB, free: 4.59 MB / 0.7169 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3586, allocations: 51.41 kB / 0.9757 GB, free: 4.527 MB / 0.7169 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3588, allocations: 151.7 kB / 0.9759 GB, free: 4.367 MB / 0.7169 GB
Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3588, allocations: 25.7 kB / 0.9759 GB, free: 4.336 MB / 0.7169 GB
Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.3589, allocations: 104.1 kB / 0.976 GB, free: 4.23 MB / 0.7169 GB
Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3589, allocations: 27.75 kB / 0.976 GB, free: 4.203 MB / 0.7169 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.3589, allocations: 25.7 kB / 0.9761 GB, free: 4.172 MB / 0.7169 GB
Notification: Performance of setup shared object (initialization): time 0.0001484/0.3591, allocations: 326.8 kB / 0.9764 GB, free: 3.844 MB / 0.7169 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3593, allocations: 59.94 kB / 0.9764 GB, free: 3.785 MB / 0.7169 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.3596, allocations: 82.44 kB / 0.9765 GB, free: 3.695 MB / 0.7169 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.36, allocations: 116.8 kB / 0.9766 GB, free: 3.578 MB / 0.7169 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.36, allocations: 0 / 0.9766 GB, free: 3.578 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005255/0.3605, allocations: 165.5 kB / 0.9768 GB, free: 3.41 MB / 0.7169 GB
Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3605, allocations: 4 kB / 0.9768 GB, free: 3.406 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3605, allocations: 0 / 0.9768 GB, free: 3.406 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3606, allocations: 0 / 0.9768 GB, free: 3.406 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.3608, allocations: 31.91 kB / 0.9768 GB, free: 3.375 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3608, allocations: 0 / 0.9768 GB, free: 3.375 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3609, allocations: 19.94 kB / 0.9768 GB, free: 3.355 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3609, allocations: 11.98 kB / 0.9768 GB, free: 3.344 MB / 0.7169 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 0.00011/0.361, allocations: 118.4 kB / 0.9769 GB, free: 3.219 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.3611, allocations: 7.953 kB / 0.977 GB, free: 3.211 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.3611, allocations: 20.7 kB / 0.977 GB, free: 3.191 MB / 0.7169 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3611, allocations: 0 / 0.977 GB, free: 3.191 MB / 0.7169 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3611, allocations: 4 kB / 0.977 GB, free: 3.188 MB / 0.7169 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3612, allocations: 3.938 kB / 0.977 GB, free: 3.184 MB / 0.7169 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.362, allocations: 437.8 kB / 0.9774 GB, free: 2.707 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.362, allocations: 3.984 kB / 0.9774 GB, free: 2.703 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.3622, allocations: 23.97 kB / 0.9774 GB, free: 2.68 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3622, allocations: 8 kB / 0.9774 GB, free: 2.672 MB / 0.7169 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3622, allocations: 4 kB / 0.9774 GB, free: 2.668 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3622, allocations: 3.938 kB / 0.9774 GB, free: 2.664 MB / 0.7169 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3622, allocations: 0 / 0.9774 GB, free: 2.664 MB / 0.7169 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.3628, allocations: 255.5 kB / 0.9777 GB, free: 2.398 MB / 0.7169 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.3628, allocations: 7.953 kB / 0.9777 GB, free: 2.391 MB / 0.7169 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3628, allocations: 4 kB / 0.9777 GB, free: 2.387 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.363, allocations: 19.91 kB / 0.9777 GB, free: 2.367 MB / 0.7169 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.363, allocations: 15.91 kB / 0.9777 GB, free: 2.352 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3631, allocations: 12 kB / 0.9777 GB, free: 2.34 MB / 0.7169 GB
Notification: Performance of sorting global known variables: time 8.074e-05/0.3631, allocations: 108.9 kB / 0.9778 GB, free: 2.234 MB / 0.7169 GB
Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 4 kB / 0.9779 GB, free: 2.23 MB / 0.7169 GB
Notification: Performance of remove unused functions: time 0.000267/0.3634, allocations: 31.94 kB / 0.9779 GB, free: 2.199 MB / 0.7169 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.0001863/0.3636, allocations: 111.2 kB / 0.978 GB, free: 2.082 MB / 0.7169 GB
Notification: Performance of simCode: created initialization part: time 0.0005502/0.3641, allocations: 119.9 kB / 0.9781 GB, free: 1.965 MB / 0.7169 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3641, allocations: 0 / 0.9781 GB, free: 1.965 MB / 0.7169 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.3644, allocations: 67.88 kB / 0.9782 GB, free: 1.898 MB / 0.7169 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3647, allocations: 36.59 kB / 0.9782 GB, free: 1.863 MB / 0.7169 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.3653, allocations: 235.2 kB / 0.9784 GB, free: 1.609 MB / 0.7169 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3657, allocations: 0.7002 MB / 0.9791 GB, free: 0.8828 MB / 0.7169 GB
Notification: Performance of simCode: alias equations: time 0.0001173/0.3658, allocations: 28.41 kB / 0.9791 GB, free: 0.8555 MB / 0.7169 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.3659, allocations: 15.42 kB / 0.9792 GB, free: 0.8398 MB / 0.7169 GB
Notification: Performance of SimCode: time 3.21e-07/0.3659, allocations: 4 kB / 0.9792 GB, free: 0.8359 MB / 0.7169 GB
Notification: Performance of Templates: time 0.005304/0.3712, allocations: 2.011 MB / 0.9811 GB, free: 14.85 MB / 0.7325 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.893104047514498]
Failed to read output from testmodel.py, exit status != 0:
0.37815203703939915 0.393374311 0.037267977
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f89294c17b0>