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.00128/0.00128, allocations: 78.34 kB / 19.01 MB, free: 2.863 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.001519/0.001519, allocations: 160.3 kB / 22.25 MB, free: 5.113 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.347/1.347, allocations: 177.2 MB / 202.6 MB, free: 9.254 MB / 190.1 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.002342/0.002342, allocations: 233.8 kB / 259.3 MB, free: 0.5742 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.005/1.005, allocations: 138.5 MB / 454.2 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.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.002962/0.002962, allocations: 107.8 kB / 0.6466 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3677, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002197/0.3699, allocations: 1.3 MB / 0.741 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3712, allocations: 0.7589 MB / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.3712, allocations: 0 / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.3713, allocations: 0 / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.3713, allocations: 7.922 kB / 0.7417 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.3718, allocations: 131.4 kB / 0.7419 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.3718, allocations: 27.86 kB / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.3719, allocations: 0 / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.3719, allocations: 23.97 kB / 0.7419 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.372, allocations: 11.92 kB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.372, allocations: 4 kB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.3723, allocations: 159.7 kB / 0.7421 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.3723, allocations: 3.984 kB / 0.7421 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.3723, allocations: 19.86 kB / 0.7421 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3726, allocations: 112.9 kB / 0.7422 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3726, allocations: 4 kB / 0.7422 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3726, allocations: 3.938 kB / 0.7422 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3726, allocations: 0 / 0.7422 GB, free: 12.63 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.0004502/0.373, allocations: 294 kB / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3731, allocations: 9.344 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3731, allocations: 8.891 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.3732, allocations: 102.5 kB / 0.7426 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/0.3733, allocations: 63.95 kB / 0.7427 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.3733, allocations: 384 / 0.7427 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3735, allocations: 75.89 kB / 0.7427 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3735, allocations: 3.938 kB / 0.7427 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3735, allocations: 0 / 0.7427 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3735, allocations: 0 / 0.7427 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.3736, allocations: 27.97 kB / 0.7428 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.3737, allocations: 105.4 kB / 0.7429 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.3739, allocations: 42.56 kB / 0.7429 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.374, allocations: 12.86 kB / 0.7429 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.3742, allocations: 28.06 kB / 0.743 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3742, allocations: 38.5 kB / 0.743 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3742, allocations: 4 kB / 0.743 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002455/0.3745, allocations: 65.61 kB / 0.7431 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3745, allocations: 55.41 kB / 0.7431 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.3746, allocations: 97.84 kB / 0.7432 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3746, allocations: 29.7 kB / 0.7432 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.3747, allocations: 80.14 kB / 0.7433 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3747, allocations: 7.906 kB / 0.7433 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.3747, allocations: 17.72 kB / 0.7433 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3748, allocations: 318.8 kB / 0.7436 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.3749, allocations: 11.94 kB / 0.7436 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.3749, allocations: 19.92 kB / 0.7437 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.375, allocations: 28.84 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.375, allocations: 0 / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.3752, allocations: 53.64 kB / 0.7437 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3752, allocations: 8 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3752, allocations: 0 / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3752, allocations: 3.938 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.3753, allocations: 11.98 kB / 0.7438 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3753, allocations: 4 kB / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.3753, allocations: 3.938 kB / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3753, allocations: 3.938 kB / 0.7438 GB, free: 10.84 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 8.864e-05/0.3754, allocations: 117.8 kB / 0.7439 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.3754, allocations: 0 / 0.7439 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3756, allocations: 73.28 kB / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3756, allocations: 0 / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3756, allocations: 0 / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3756, allocations: 0.5625 kB / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.787e-05/0.3757, allocations: 113.3 kB / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3757, allocations: 0 / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.3757, allocations: 4 kB / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3757, allocations: 4 kB / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3757, allocations: 0 / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3757, allocations: 3.938 kB / 0.7441 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3757, allocations: 7.922 kB / 0.7441 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3759, allocations: 85.06 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.3759, allocations: 11.98 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3759, allocations: 4 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.376, allocations: 7.938 kB / 0.7442 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.376, allocations: 7.984 kB / 0.7442 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.376, allocations: 0 / 0.7442 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.3761, allocations: 79.28 kB / 0.7443 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3761, allocations: 0 / 0.7443 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002189/0.3763, allocations: 35.88 kB / 0.7443 GB, free: 10.22 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.0002063/0.3765, allocations: 143 kB / 0.7444 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3767, allocations: 31.91 kB / 0.7445 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3767, allocations: 4 kB / 0.7445 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.3767, allocations: 16 kB / 0.7445 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.3769, allocations: 3.984 kB / 0.7445 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.3772, allocations: 127.5 kB / 0.7446 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.3772, allocations: 59.36 kB / 0.7447 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.3773, allocations: 11.98 kB / 0.7447 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.3773, allocations: 8.5 kB / 0.7447 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.3773, allocations: 0 / 0.7447 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.00365/0.381, allocations: 1.128 MB / 0.7458 GB, free: 8.656 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: 5.524728557094932] Failed to read output from testmodel.py, exit status != 0: 0.38923868350684643 0.40313478699999994 0.027651354000000003 Calling exit ...