Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001656/0.001656, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001963/0.001963, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001999/0.001999, allocations: 70.28 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003686/0.365, allocations: 1.29 MB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.367, allocations: 0.7633 MB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.367, allocations: 4 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.367, allocations: 0 / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/0.3671, allocations: 11.91 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.3679, allocations: 123.4 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.368, allocations: 23.92 kB / 1.347 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.3681, allocations: 4 kB / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.3681, allocations: 15.97 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.3682, allocations: 11.94 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3682, allocations: 4 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.3687, allocations: 167.7 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.3687, allocations: 7.922 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.3688, allocations: 11.94 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.3691, allocations: 119.9 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3691, allocations: 4 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3691, allocations: 0 / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3691, allocations: 0 / 1.348 GB, free: 13.29 MB / 1.045 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.0005844/0.3697, allocations: 286.1 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3698, allocations: 12.03 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.18e-05/0.3698, allocations: 8.125 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.3698, allocations: 30.75 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.3699, allocations: 4.891 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.37, allocations: 110.5 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.3701, allocations: 59.97 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3701, allocations: 384 / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3703, allocations: 79.48 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3703, allocations: 0 / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3703, allocations: 0 / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3703, allocations: 4 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3705, allocations: 23.92 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.3707, allocations: 124.8 kB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.371, allocations: 42.59 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.371, allocations: 16.86 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.3713, allocations: 28.06 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3714, allocations: 42.44 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3714, allocations: 4 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003503/0.3717, allocations: 69.61 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3718, allocations: 55.41 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.3719, allocations: 93.84 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3719, allocations: 29.7 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3719, allocations: 80.14 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.372, allocations: 11.91 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.372, allocations: 13.72 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3722, allocations: 314.8 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.3722, allocations: 15.98 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.3723, allocations: 11.98 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3724, allocations: 24.86 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3724, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002008/0.3726, allocations: 65.55 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3727, allocations: 8 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3727, allocations: 0 / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3727, allocations: 4 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.3727, allocations: 4 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3728, allocations: 11.94 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.3728, allocations: 7.938 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3728, allocations: 0.5156 kB / 1.349 GB, free: 11.41 MB / 1.045 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 0.0001017/0.3729, allocations: 109.8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.3729, allocations: 3.938 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3732, allocations: 77.28 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3732, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3732, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3732, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3733, allocations: 136.7 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3733, allocations: 0 / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.3734, allocations: 7.938 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3734, allocations: 4 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3734, allocations: 0 / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3734, allocations: 0 / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3734, allocations: 3.984 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3736, allocations: 81.08 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.3737, allocations: 19.8 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3737, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.3738, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3738, allocations: 7.984 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3738, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.3739, allocations: 79.28 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3739, allocations: 0 / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000361/0.3742, allocations: 35.88 kB / 1.35 GB, free: 10.77 MB / 1.045 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.0007496/0.375, allocations: 0.6513 MB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3752, allocations: 31.92 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3752, allocations: 0 / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.3753, allocations: 19.98 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3756, allocations: 4 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.3762, allocations: 169 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.3762, allocations: 63.28 kB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.075e-05/0.3763, allocations: 8 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.3763, allocations: 11.44 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.3763, allocations: 0 / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.4041, allocations: 2.206 MB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12, allocations: 16.5 kB / 1.353 GB, free: 7.66 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.95989507099148] Failed to read output from testmodel.py, exit status != 0: 12.168890047934838 12.198561838 11.824129383 Calling exit ...