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.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.001569/0.001569, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001805/0.001805, allocations: 220.1 kB / 23 MB, free: 4.914 MB / 14.72 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 1.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.002527/0.002527, allocations: 283.3 kB / 313.5 MB, free: 2.723 MB / 238.1 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 1.175/1.175, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 101.7 kB / 0.7407 GB, free: 27.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1545, allocations: 95.38 MB / 0.8339 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002299/0.1568, allocations: 1.305 MB / 0.8351 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1581, allocations: 0.7542 MB / 0.8359 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.1581, allocations: 0 / 0.8359 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.1581, allocations: 3.938 kB / 0.8359 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.1581, allocations: 4 kB / 0.8359 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.1586, allocations: 139.4 kB / 0.836 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.1587, allocations: 31.8 kB / 0.836 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1587, allocations: 0 / 0.836 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.1588, allocations: 12 kB / 0.8361 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.1588, allocations: 11.92 kB / 0.8361 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1588, allocations: 0 / 0.8361 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.1592, allocations: 159.8 kB / 0.8362 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1592, allocations: 7.984 kB / 0.8362 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1592, allocations: 19.92 kB / 0.8363 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1594, allocations: 115.6 kB / 0.8364 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1594, allocations: 3.938 kB / 0.8364 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1594, allocations: 0 / 0.8364 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1594, allocations: 0 / 0.8364 GB, free: 5.082 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004242/0.1599, allocations: 282.1 kB / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1599, allocations: 9.938 kB / 0.8366 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.1599, allocations: 4.891 kB / 0.8366 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.16, allocations: 122.5 kB / 0.8368 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/0.1601, allocations: 59.91 kB / 0.8368 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.1602, allocations: 4.375 kB / 0.8368 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1603, allocations: 71.94 kB / 0.8369 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1603, allocations: 3.938 kB / 0.8369 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1603, allocations: 4 kB / 0.8369 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1603, allocations: 0 / 0.8369 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.1604, allocations: 19.92 kB / 0.8369 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1606, allocations: 109.3 kB / 0.837 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1607, allocations: 38.61 kB / 0.8371 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.1608, allocations: 20.94 kB / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.161, allocations: 23.98 kB / 0.8371 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.161, allocations: 38.55 kB / 0.8371 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.161, allocations: 0 / 0.8371 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002515/0.1613, allocations: 69.56 kB / 0.8372 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.1613, allocations: 55.39 kB / 0.8373 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.1614, allocations: 93.86 kB / 0.8374 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1614, allocations: 29.7 kB / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.1615, allocations: 84.14 kB / 0.8375 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1615, allocations: 11.91 kB / 0.8375 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1615, allocations: 17.7 kB / 0.8375 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1616, allocations: 318.8 kB / 0.8378 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.1617, allocations: 8 kB / 0.8378 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.1617, allocations: 11.98 kB / 0.8378 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1619, allocations: 28.84 kB / 0.8378 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1619, allocations: 3.938 kB / 0.8378 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.162, allocations: 61.64 kB / 0.8379 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.162, allocations: 4 kB / 0.8379 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.162, allocations: 4 kB / 0.8379 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.162, allocations: 3.938 kB / 0.8379 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.1621, allocations: 7.984 kB / 0.8379 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1621, allocations: 0 / 0.8379 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.1621, allocations: 4 kB / 0.8379 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1621, allocations: 0.5156 kB / 0.8379 GB, free: 3.293 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 (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.848e-05/0.1622, allocations: 110.5 kB / 0.838 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1622, allocations: 8 kB / 0.838 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1624, allocations: 81.2 kB / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1624, allocations: 0 / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1624, allocations: 0 / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1624, allocations: 0 / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.1625, allocations: 105.3 kB / 0.8382 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1625, allocations: 0 / 0.8382 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.1626, allocations: 11.98 kB / 0.8382 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1626, allocations: 3.938 kB / 0.8382 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1626, allocations: 0 / 0.8382 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1626, allocations: 11.94 kB / 0.8382 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1626, allocations: 4 kB / 0.8382 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.1627, allocations: 85.02 kB / 0.8383 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.1628, allocations: 3.984 kB / 0.8383 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1628, allocations: 4 kB / 0.8383 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.1628, allocations: 7.938 kB / 0.8383 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1629, allocations: 7.984 kB / 0.8383 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1629, allocations: 0 / 0.8383 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.1629, allocations: 79.28 kB / 0.8384 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1629, allocations: 0 / 0.8384 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002327/0.1631, allocations: 39.86 kB / 0.8385 GB, free: 2.668 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 (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.0002133/0.1634, allocations: 143 kB / 0.8386 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1635, allocations: 23.98 kB / 0.8386 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1635, allocations: 0 / 0.8386 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.1635, allocations: 15.94 kB / 0.8386 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.1638, allocations: 7.984 kB / 0.8386 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.164, allocations: 157.1 kB / 0.8388 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.1641, allocations: 63.34 kB / 0.8389 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.1641, allocations: 7.438 kB / 0.8389 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.1641, allocations: 0 / 0.8389 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of Templates: time 0.002617/0.1667, allocations: 1.04 MB / 0.8399 GB, free: 1.156 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.959014714695513] Failed to read output from testmodel.py, exit status != 0: 0.17365466291084886 0.189013055 0.026699999000000002 Calling exit ...