Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0009238/0.0009238, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.002154, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009387/0.0009387, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002142, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9432/0.9432, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08598/1.029, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001309/0.001309, allocations: 242.1 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.002367, allocations: 471.3 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.7446/0.7446, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07829/0.8229, allocations: 42.4 MB / 426.5 MB, free: 5.938 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 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.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.277e-05, allocations: 2.312 kB / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001909/0.001921, allocations: 1.747 MB / 429.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3522/0.3541, allocations: 143.5 MB / 0.5596 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.3542, allocations: 4 kB / 0.5596 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3543, allocations: 11.81 kB / 0.5596 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.3545, allocations: 55.56 kB / 0.5597 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.3549, allocations: 187 kB / 0.5598 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3551, allocations: 163.4 kB / 0.56 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3552, allocations: 27.22 kB / 0.56 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009418/0.3561, allocations: 291.6 kB / 0.5603 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.3562, allocations: 51.88 kB / 0.5603 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3562, allocations: 8 kB / 0.5603 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.3565, allocations: 173.6 kB / 0.5605 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.3565, allocations: 23.81 kB / 0.5605 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.3566, allocations: 27.94 kB / 0.5606 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.3569, allocations: 163.5 kB / 0.5607 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.3569, allocations: 4 kB / 0.5607 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3569, allocations: 0 / 0.5607 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.3569, allocations: 0 / 0.5607 GB, free: 14.32 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006113/0.3575, allocations: 405.6 kB / 0.5611 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3576, allocations: 12.75 kB / 0.5611 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.3581, allocations: 165.8 kB / 0.5613 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3583, allocations: 133.7 kB / 0.5614 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3583, allocations: 4.375 kB / 0.5614 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3583, allocations: 11.94 kB / 0.5614 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3585, allocations: 164.8 kB / 0.5616 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3585, allocations: 4 kB / 0.5616 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3586, allocations: 8.891 kB / 0.5616 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3586, allocations: 0 / 0.5616 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.3586, allocations: 45.17 kB / 0.5616 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.3592, allocations: 0.5893 MB / 0.5622 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3594, allocations: 67.36 kB / 0.5623 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.3594, allocations: 24.84 kB / 0.5623 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3594, allocations: 4 kB / 0.5623 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3595, allocations: 34.56 kB / 0.5623 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.3595, allocations: 0 / 0.5623 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0007003/0.3602, allocations: 217 kB / 0.5625 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3602, allocations: 51.41 kB / 0.5626 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3603, allocations: 149.4 kB / 0.5627 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3603, allocations: 25.7 kB / 0.5628 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.3604, allocations: 112 kB / 0.5629 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3604, allocations: 35.72 kB / 0.5629 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3605, allocations: 25.7 kB / 0.5629 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.3605, allocations: 322.8 kB / 0.5632 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.3606, allocations: 16 kB / 0.5632 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.3606, allocations: 59.75 kB / 0.5633 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3607, allocations: 80.27 kB / 0.5634 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3607, allocations: 3.938 kB / 0.5634 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003489/0.3611, allocations: 157.1 kB / 0.5635 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3611, allocations: 8 kB / 0.5635 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3611, allocations: 4.609 kB / 0.5635 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.3616, allocations: 125.6 kB / 0.5637 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3617, allocations: 31.95 kB / 0.5637 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.363, allocations: 1.334 MB / 0.565 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.3631, allocations: 15.94 kB / 0.565 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.3631, allocations: 8 kB / 0.565 GB, free: 9.586 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.3632, allocations: 116.7 kB / 0.5651 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3632, allocations: 8.875 kB / 0.5651 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.3636, allocations: 184.6 kB / 0.5653 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3636, allocations: 8 kB / 0.5653 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3636, allocations: 0 / 0.5653 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3636, allocations: 0 / 0.5653 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3638, allocations: 109.8 kB / 0.5654 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3638, allocations: 0 / 0.5654 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3639, allocations: 29.09 kB / 0.5655 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.3639, allocations: 19.88 kB / 0.5655 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.3643, allocations: 128.5 kB / 0.5656 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3643, allocations: 4 kB / 0.5656 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/0.3652, allocations: 1.35 MB / 0.5669 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3652, allocations: 0 / 0.5669 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.3656, allocations: 258.5 kB / 0.5672 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3656, allocations: 0 / 0.5672 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.3657, allocations: 11.98 kB / 0.5672 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.3657, allocations: 17.14 kB / 0.5672 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.3658, allocations: 0 / 0.5672 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.3658, allocations: 36.77 kB / 0.5672 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.3658, allocations: 0 / 0.5672 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002514/0.366, allocations: 43.94 kB / 0.5673 GB, free: 7.125 MB / 0.5417 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.3662, allocations: 99.02 kB / 0.5674 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.3665, allocations: 211.2 kB / 0.5676 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.3665, allocations: 4 kB / 0.5676 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3667, allocations: 179.6 kB / 0.5677 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3669, allocations: 41.97 kB / 0.5678 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3692, allocations: 304.3 kB / 0.5681 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.3693, allocations: 79.7 kB / 0.5681 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.3694, allocations: 17.44 kB / 0.5682 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3695, allocations: 75.34 kB / 0.5682 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of SimCode: time 6.42e-07/0.3695, allocations: 0 / 0.5682 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of Templates: time 0.005716/0.3752, allocations: 3.403 MB / 0.5716 GB, free: 2.82 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.652603688649833]