Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001213/0.001213, allocations: 114.8 kB / 19.69 MB, free: 2.199 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.001258/0.001258, allocations: 191.9 kB / 22.98 MB, free: 5.062 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.348/1.348, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8962/0.8962, allocations: 149.6 MB / 456.6 MB, free: 1.191 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X")
translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 65.47 kB / 0.6328 GB, free: 8.984 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 87.88 MB / 0.7187 GB, free: 1.027 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002366/0.1781, allocations: 1.261 MB / 0.7199 GB, free: 15.76 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.000597/0.1787, allocations: 299.6 kB / 0.7202 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.1787, allocations: 0 / 0.7202 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.1788, allocations: 0 / 0.7202 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.1788, allocations: 7.938 kB / 0.7202 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1791, allocations: 51.73 kB / 0.7202 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.1792, allocations: 15.94 kB / 0.7203 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.1792, allocations: 3.938 kB / 0.7203 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.1792, allocations: 8 kB / 0.7203 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.1793, allocations: 11.91 kB / 0.7203 GB, free: 15.37 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1793, allocations: 4 kB / 0.7203 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1794, allocations: 55.95 kB / 0.7203 GB, free: 15.31 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1794, allocations: 4 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.1795, allocations: 7.938 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1796, allocations: 47.88 kB / 0.7204 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1796, allocations: 4 kB / 0.7204 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.242e-06/0.1796, allocations: 0 / 0.7204 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 8.666e-06/0.1796, allocations: 3.938 kB / 0.7204 GB, free: 15.24 MB / 0.545 GB
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.0003663/0.18, allocations: 258.3 kB / 0.7206 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.18, allocations: 12.62 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.1802, allocations: 20.91 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1803, allocations: 110.5 kB / 0.7208 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1804, allocations: 384 / 0.7208 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1804, allocations: 8.375 kB / 0.7208 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1805, allocations: 42.23 kB / 0.7208 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1805, allocations: 192 / 0.7208 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1805, allocations: 7.938 kB / 0.7208 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1805, allocations: 0 / 0.7208 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.1806, allocations: 15.94 kB / 0.7209 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1807, allocations: 132.7 kB / 0.721 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.1826, allocations: 262.5 kB / 0.7212 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.1827, allocations: 20.84 kB / 0.7212 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1827, allocations: 0 / 0.7212 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1827, allocations: 38.56 kB / 0.7213 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.1827, allocations: 0 / 0.7213 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.0001806/0.1829, allocations: 69.56 kB / 0.7214 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1829, allocations: 51.41 kB / 0.7214 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.183, allocations: 89.86 kB / 0.7215 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.183, allocations: 29.7 kB / 0.7215 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1831, allocations: 80.14 kB / 0.7216 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1831, allocations: 19.83 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1831, allocations: 21.84 kB / 0.7216 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001388/0.1833, allocations: 310.8 kB / 0.7219 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.1833, allocations: 8 kB / 0.7219 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.1833, allocations: 7.984 kB / 0.7219 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.1834, allocations: 28.86 kB / 0.722 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.1834, allocations: 0 / 0.722 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.663e-05/0.1835, allocations: 57.62 kB / 0.722 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1835, allocations: 4 kB / 0.722 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1835, allocations: 8.203 kB / 0.722 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1835, allocations: 8 kB / 0.722 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.1836, allocations: 8 kB / 0.7221 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1836, allocations: 0 / 0.7221 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.1836, allocations: 0 / 0.7221 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.1836, allocations: 0 / 0.7221 GB, free: 13.36 MB / 0.545 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 (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.879e-05/0.1837, allocations: 109.8 kB / 0.7222 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.1837, allocations: 7.969 kB / 0.7222 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.1837, allocations: 11.47 kB / 0.7222 GB, free: 13.22 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1837, allocations: 4 kB / 0.7222 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1837, allocations: 4 kB / 0.7222 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1837, allocations: 0 / 0.7222 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1838, allocations: 132.6 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1838, allocations: 0 / 0.7223 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.1839, allocations: 12 kB / 0.7223 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1839, allocations: 0 / 0.7223 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1839, allocations: 7.875 kB / 0.7223 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1839, allocations: 0 / 0.7223 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1839, allocations: 0 / 0.7223 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.184, allocations: 77.12 kB / 0.7224 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.184, allocations: 7.984 kB / 0.7224 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1841, allocations: 7.938 kB / 0.7224 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.1841, allocations: 0 / 0.7224 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1841, allocations: 4 kB / 0.7224 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1841, allocations: 0 / 0.7224 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 3.56e-05/0.1842, allocations: 75.28 kB / 0.7225 GB, free: 12.83 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1842, allocations: 0 / 0.7225 GB, free: 12.83 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0001783/0.1843, allocations: 8 kB / 0.7225 GB, free: 12.82 MB / 0.545 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 (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 9.822e-05/0.1844, allocations: 99.33 kB / 0.7226 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 9.918e-05/0.1845, allocations: 27.94 kB / 0.7226 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.1846, allocations: 0 / 0.7226 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.1846, allocations: 15.98 kB / 0.7226 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1848, allocations: 7.984 kB / 0.7226 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1851, allocations: 130.7 kB / 0.7228 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1854, allocations: 0.6768 MB / 0.7234 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.397e-05/0.1855, allocations: 8 kB / 0.7234 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1855, allocations: 11.44 kB / 0.7235 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of SimCode: time 3.81e-07/0.1855, allocations: 0 / 0.7235 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of Templates: time 0.002635/0.1881, allocations: 0.5469 MB / 0.724 GB, free: 11.25 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.1546475403010845]
Failed to read output from testmodel.py, exit status != 0:
0.19597275368869305 0.20989586500000001 0.027414258
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe4609697b0>