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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 110 kB / 18.93 MB, free: 2.945 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.001276/0.001276, allocations: 192 kB / 22.23 MB, free: 5.16 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.337/1.337, allocations: 225.6 MB / 251 MB, free: 13.02 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.002394/0.002394, allocations: 296.4 kB / 306.6 MB, free: 8.328 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.162/1.162, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 102.1 kB / 0.7308 GB, free: 38.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1523, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002733/0.155, allocations: 1.509 MB / 0.8243 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1564, allocations: 0.8279 MB / 0.8251 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.1564, allocations: 0 / 0.8251 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.1565, allocations: 3.938 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.1565, allocations: 3.938 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.157, allocations: 135.4 kB / 0.8252 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.1571, allocations: 51.78 kB / 0.8253 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.1572, allocations: 23.92 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.1572, allocations: 19.92 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.1573, allocations: 19.92 kB / 0.8253 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1573, allocations: 4 kB / 0.8253 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.1576, allocations: 175.7 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.1576, allocations: 15.92 kB / 0.8255 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.1577, allocations: 23.92 kB / 0.8256 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.158, allocations: 151.5 kB / 0.8257 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.158, allocations: 0 / 0.8257 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.714e-06/0.158, allocations: 0 / 0.8257 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.158, allocations: 0 / 0.8257 GB, free: 14.87 MB / 0.5762 GB 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.0005811/0.1586, allocations: 317.9 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1586, allocations: 12.03 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1586, allocations: 8.828 kB / 0.826 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1587, allocations: 122.4 kB / 0.8261 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1587, allocations: 4.375 kB / 0.8261 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1588, allocations: 4.375 kB / 0.8261 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.159, allocations: 74.2 kB / 0.8262 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.159, allocations: 4.125 kB / 0.8262 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1591, allocations: 7.938 kB / 0.8262 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1591, allocations: 0 / 0.8262 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1594, allocations: 67.92 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.1598, allocations: 255.9 kB / 0.8265 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.16, allocations: 54.47 kB / 0.8266 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1601, allocations: 52.91 kB / 0.8266 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.1603, allocations: 8 kB / 0.8266 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1603, allocations: 34.55 kB / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1603, allocations: 0 / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005478/0.1609, allocations: 129.6 kB / 0.8268 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1609, allocations: 51.41 kB / 0.8269 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.161, allocations: 117.8 kB / 0.827 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.161, allocations: 29.7 kB / 0.827 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.1611, allocations: 88.09 kB / 0.8271 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1611, allocations: 11.89 kB / 0.8271 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1611, allocations: 17.66 kB / 0.8271 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1613, allocations: 330.8 kB / 0.8274 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1614, allocations: 27.97 kB / 0.8274 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1615, allocations: 31.95 kB / 0.8275 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1618, allocations: 72.78 kB / 0.8275 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1618, allocations: 0 / 0.8275 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003234/0.1621, allocations: 97.58 kB / 0.8276 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1621, allocations: 8 kB / 0.8276 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1622, allocations: 0 / 0.8276 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1622, allocations: 0 / 0.8276 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1623, allocations: 19.92 kB / 0.8277 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1623, allocations: 4 kB / 0.8277 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.1624, allocations: 15.91 kB / 0.8277 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1624, allocations: 4.328 kB / 0.8277 GB, free: 12.64 MB / 0.5762 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 (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 7.907e-05/0.1625, allocations: 114.4 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1625, allocations: 4 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1629, allocations: 117.6 kB / 0.8279 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1629, allocations: 0 / 0.8279 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1629, allocations: 0 / 0.8279 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1629, allocations: 0 / 0.8279 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.163, allocations: 148.6 kB / 0.8281 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.163, allocations: 4 kB / 0.8281 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.1631, allocations: 15.92 kB / 0.8281 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1631, allocations: 0 / 0.8281 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1631, allocations: 7.938 kB / 0.8281 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.1631, allocations: 8 kB / 0.8281 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1631, allocations: 0 / 0.8281 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1635, allocations: 191.4 kB / 0.8283 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.1635, allocations: 11.95 kB / 0.8283 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1635, allocations: 4 kB / 0.8283 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1636, allocations: 11.98 kB / 0.8283 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1637, allocations: 3.984 kB / 0.8283 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1637, allocations: 0 / 0.8283 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.1638, allocations: 103.6 kB / 0.8284 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1638, allocations: 0 / 0.8284 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002527/0.164, allocations: 27.88 kB / 0.8284 GB, free: 11.8 MB / 0.5762 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 (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.0001931/0.1642, allocations: 135.2 kB / 0.8286 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.1646, allocations: 71.86 kB / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1646, allocations: 0 / 0.8286 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1647, allocations: 31.97 kB / 0.8287 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.165, allocations: 23.86 kB / 0.8287 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.1653, allocations: 147.5 kB / 0.8288 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1656, allocations: 0.6884 MB / 0.8295 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.1656, allocations: 4 kB / 0.8295 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1657, allocations: 11.44 kB / 0.8295 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1657, allocations: 4 kB / 0.8295 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of Templates: time 0.003923/0.1696, allocations: 1.381 MB / 0.8309 GB, free: 9.262 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.67769695725292] Failed to read output from testmodel.py, exit status != 0: 0.17630725167691708 0.190703524 0.029901032 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa2502e97b0>