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.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.001317/0.001317, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.00151/0.00151, allocations: 160.4 kB / 22.46 MB, free: 5.375 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.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.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.002592/0.002592, allocations: 233.7 kB / 259.4 MB, free: 456 kB / 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.057/1.057, allocations: 138.4 MB / 454.3 MB, free: 2.035 MB / 366.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.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 1.463e-06/1.463e-06, allocations: 0 / 0.6468 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.514e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002501/0.002526, allocations: 1.514 MB / 0.6482 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003871, allocations: 0.7523 MB / 0.649 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.003903, allocations: 4 kB / 0.649 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.003937, allocations: 7.875 kB / 0.649 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.003988, allocations: 11.86 kB / 0.649 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.004445, allocations: 131.4 kB / 0.6491 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.004547, allocations: 55.72 kB / 0.6492 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.004648, allocations: 11.98 kB / 0.6492 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.004715, allocations: 27.98 kB / 0.6492 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.004762, allocations: 19.97 kB / 0.6492 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.00478, allocations: 7.938 kB / 0.6493 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.005109, allocations: 163.7 kB / 0.6494 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.005127, allocations: 7.938 kB / 0.6494 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.005155, allocations: 11.98 kB / 0.6494 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.005464, allocations: 183.4 kB / 0.6496 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005466, allocations: 0 / 0.6496 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005467, allocations: 0 / 0.6496 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.005474, allocations: 0 / 0.6496 GB, free: 2.16 MB / 0.5606 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.0005968/0.006071, allocations: 329.8 kB / 0.6499 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.006106, allocations: 9.344 kB / 0.6499 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.006138, allocations: 4.938 kB / 0.6499 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.006302, allocations: 113.7 kB / 0.65 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.006309, allocations: 384 / 0.65 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.006323, allocations: 4.375 kB / 0.65 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.006583, allocations: 70.22 kB / 0.6501 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.006591, allocations: 4.188 kB / 0.6501 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.006603, allocations: 4.375 kB / 0.6501 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.006607, allocations: 4.312 kB / 0.6501 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.006941, allocations: 71.8 kB / 0.6502 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.007284, allocations: 228.5 kB / 0.6504 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.007498, allocations: 50.53 kB / 0.6505 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.00766, allocations: 36.92 kB / 0.6505 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.007797, allocations: 15.92 kB / 0.6505 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.007828, allocations: 38.5 kB / 0.6505 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.007829, allocations: 4 kB / 0.6505 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005884/0.008418, allocations: 129.6 kB / 0.6507 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.008455, allocations: 51.41 kB / 0.6507 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.008554, allocations: 109.8 kB / 0.6508 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.008572, allocations: 25.7 kB / 0.6508 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.008626, allocations: 88.17 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.00865, allocations: 19.92 kB / 0.651 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.008686, allocations: 13.72 kB / 0.651 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.008834, allocations: 318.8 kB / 0.6513 GB, free: 292 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.008994, allocations: 31.95 kB / 0.6513 GB, free: 260 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.009142, allocations: 31.97 kB / 0.6513 GB, free: 228 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.009441, allocations: 72.78 kB / 0.6514 GB, free: 152 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009443, allocations: 0 / 0.6514 GB, free: 152 kB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000359/0.009802, allocations: 101.5 kB / 0.6515 GB, free: 44 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.009816, allocations: 4 kB / 0.6515 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.00982, allocations: 0 / 0.6515 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.009838, allocations: 0 / 0.6515 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.009971, allocations: 27.97 kB / 0.6515 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.009976, allocations: 3.938 kB / 0.6515 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2535/0.2634, allocations: 11.14 kB / 0.6515 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2635, allocations: 0.8125 kB / 0.6515 GB, free: 56.87 MB / 0.5606 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.291e-05/0.2635, allocations: 109.8 kB / 0.6516 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.2636, allocations: 4.203 kB / 0.6516 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.264, allocations: 109 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.264, allocations: 5.344 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.264, allocations: 5.719 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.264, allocations: 1.375 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2642, allocations: 110.7 kB / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2642, allocations: 0 / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2643, allocations: 17.17 kB / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2643, allocations: 1.766 kB / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2643, allocations: 0 / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2643, allocations: 4.188 kB / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2643, allocations: 3.5 kB / 0.6519 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.2646, allocations: 196.5 kB / 0.6521 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.2646, allocations: 7.5 kB / 0.6521 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2647, allocations: 1.25 kB / 0.6521 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2648, allocations: 22.52 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.2648, allocations: 8.719 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2648, allocations: 3.188 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.2649, allocations: 88.53 kB / 0.6522 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2649, allocations: 0 / 0.6522 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002878/0.2652, allocations: 37.53 kB / 0.6522 GB, free: 56.39 MB / 0.5606 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.0001976/0.2653, allocations: 128.4 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.2657, allocations: 71.67 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2657, allocations: 1.5 kB / 0.6524 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2658, allocations: 34.42 kB / 0.6525 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2662, allocations: 8.25 kB / 0.6525 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.2665, allocations: 153.5 kB / 0.6526 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.2665, allocations: 69.7 kB / 0.6527 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.2665, allocations: 3.969 kB / 0.6527 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.2666, allocations: 12.75 kB / 0.6527 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2666, allocations: 0.5625 kB / 0.6527 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.003852/0.2704, allocations: 1.414 MB / 0.6541 GB, free: 56.06 MB / 0.5606 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.650456618517637] Failed to read output from testmodel.py, exit status != 0: 0.27796781435608864 0.28850169600000003 0.28069671700000004 Calling exit ...