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.0007822/0.0007822, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008571/0.0008571, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8179/0.8179, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001296/0.001296, allocations: 224.9 kB / 260.2 MB, free: 13.04 MB / 250.7 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 0.6438/0.6438, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 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.853e-06/1.853e-06, allocations: 0 / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.425e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.2473/0.2474, allocations: 1.503 MB / 0.649 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.2483, allocations: 0.7531 MB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.2484, allocations: 1.312 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.2484, allocations: 6.859 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.2484, allocations: 13.2 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.2488, allocations: 132.4 kB / 0.6499 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/0.2489, allocations: 53.06 kB / 0.6499 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.249, allocations: 14.42 kB / 0.6499 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.2491, allocations: 29.52 kB / 0.6499 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.2491, allocations: 17.91 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2491, allocations: 4.594 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.2494, allocations: 169.5 kB / 0.6501 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.2494, allocations: 12.75 kB / 0.6501 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.2494, allocations: 12.31 kB / 0.6502 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.2497, allocations: 170.5 kB / 0.6503 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2497, allocations: 0.5156 kB / 0.6503 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2497, allocations: 0.9375 kB / 0.6503 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2497, allocations: 1.406 kB / 0.6503 GB, free: 56.12 MB / 0.5573 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.0003818/0.2501, allocations: 328.1 kB / 0.6506 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2501, allocations: 13.03 kB / 0.6506 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.2502, allocations: 3.062 kB / 0.6506 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.168e-05/0.2502, allocations: 119.2 kB / 0.6508 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2502, allocations: 5.812 kB / 0.6508 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.2502, allocations: 5.312 kB / 0.6508 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.2504, allocations: 75.23 kB / 0.6508 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2504, allocations: 1.281 kB / 0.6508 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-06/0.2504, allocations: 384 / 0.6508 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2504, allocations: 1.219 kB / 0.6508 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2506, allocations: 73.09 kB / 0.6509 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.2509, allocations: 219.8 kB / 0.6511 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.251, allocations: 54.02 kB / 0.6512 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.2511, allocations: 40.53 kB / 0.6512 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.2512, allocations: 13.59 kB / 0.6512 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2512, allocations: 39.56 kB / 0.6513 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.2512, allocations: 0 / 0.6513 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000314/0.2515, allocations: 130.6 kB / 0.6514 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2515, allocations: 51.92 kB / 0.6514 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.2516, allocations: 113.7 kB / 0.6515 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.2516, allocations: 25.7 kB / 0.6516 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.2516, allocations: 97.31 kB / 0.6517 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2516, allocations: 7.125 kB / 0.6517 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.2517, allocations: 17.75 kB / 0.6517 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.2517, allocations: 318 kB / 0.652 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.2518, allocations: 31.58 kB / 0.652 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.2518, allocations: 32.66 kB / 0.6521 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.252, allocations: 73.91 kB / 0.6521 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.252, allocations: 2.156 kB / 0.6521 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001651/0.2521, allocations: 106.1 kB / 0.6522 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2522, allocations: 5.406 kB / 0.6522 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2522, allocations: 0 / 0.6522 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2522, allocations: 3.406 kB / 0.6522 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.2523, allocations: 15.58 kB / 0.6522 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2523, allocations: 0.875 kB / 0.6522 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.2523, allocations: 14.89 kB / 0.6523 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2523, allocations: 0 / 0.6523 GB, free: 54.68 MB / 0.5573 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 4.37e-05/0.2523, allocations: 113.7 kB / 0.6524 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.2524, allocations: 8.125 kB / 0.6524 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.2526, allocations: 119.1 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2526, allocations: 1.312 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2526, allocations: 1.781 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2526, allocations: 0 / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.097e-05/0.2527, allocations: 115.9 kB / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2527, allocations: 3.531 kB / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.2527, allocations: 16.16 kB / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2527, allocations: 0 / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2527, allocations: 11.44 kB / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2527, allocations: 0 / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2527, allocations: 0 / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.2529, allocations: 194.6 kB / 0.6528 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.2529, allocations: 10.08 kB / 0.6528 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2529, allocations: 5.062 kB / 0.6528 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.253, allocations: 11.98 kB / 0.6528 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.253, allocations: 7.969 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.253, allocations: 2.188 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.253, allocations: 89 kB / 0.6529 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.253, allocations: 0 / 0.6529 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001882/0.2532, allocations: 36.91 kB / 0.653 GB, free: 54.15 MB / 0.5573 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.0001703/0.2534, allocations: 132.4 kB / 0.6531 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2536, allocations: 71.2 kB / 0.6532 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2536, allocations: 0 / 0.6532 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.2536, allocations: 34.11 kB / 0.6532 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.2539, allocations: 13.64 kB / 0.6532 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.2541, allocations: 167.5 kB / 0.6534 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.2542, allocations: 67.3 kB / 0.6534 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2542, allocations: 10.19 kB / 0.6535 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2542, allocations: 0 / 0.6535 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of Templates: time 0.002158/0.2564, allocations: 1.265 MB / 0.6547 GB, free: 53.73 MB / 0.5573 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.0973971001803875] Failed to read output from testmodel.py, exit status != 0: 0.26138509064912796 0.268484153 0.017159489 Calling exit ...