Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001334/0.001334, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001532/0.001532, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.061/3.061, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.002029/0.002029, allocations: 67.91 kB / 1.165 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003788/1.165, allocations: 1.506 MB / 1.342 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001737/1.167, allocations: 0.8148 MB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/1.167, allocations: 5.281 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/1.167, allocations: 5.438 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/1.167, allocations: 13.91 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/1.167, allocations: 126.8 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/1.168, allocations: 55.97 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/1.168, allocations: 12.69 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.586e-05/1.168, allocations: 18.97 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/1.168, allocations: 33.47 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/1.168, allocations: 4.719 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/1.168, allocations: 175.3 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/1.168, allocations: 7.609 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/1.168, allocations: 25 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/1.169, allocations: 154.9 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.169, allocations: 0 / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.525e-06/1.169, allocations: 0 / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.039e-05/1.169, allocations: 0 / 1.343 GB, free: 14.44 MB / 1.061 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.0007487/1.17, allocations: 407 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/1.17, allocations: 11.08 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.514e-05/1.17, allocations: 192 / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/1.17, allocations: 37.27 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/1.17, allocations: 8.453 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/1.17, allocations: 184 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/1.17, allocations: 2.188 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/1.17, allocations: 2.031 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/1.17, allocations: 84.06 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.17, allocations: 5.75 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.17, allocations: 0 / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.17, allocations: 0 / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/1.171, allocations: 69.59 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/1.171, allocations: 291.3 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/1.171, allocations: 50.84 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/1.172, allocations: 36.16 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/1.172, allocations: 89.39 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.172, allocations: 40.64 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.172, allocations: 0 / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000671/1.172, allocations: 129.5 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/1.172, allocations: 52.02 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.173, allocations: 121.8 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.173, allocations: 26.36 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/1.173, allocations: 92.11 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/1.173, allocations: 9.969 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/1.173, allocations: 17.08 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/1.173, allocations: 318.6 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/1.173, allocations: 35.3 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/1.173, allocations: 31.77 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/1.173, allocations: 66.73 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.173, allocations: 0 / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003505/1.174, allocations: 107.2 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.174, allocations: 5.906 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.174, allocations: 0.7031 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.174, allocations: 4.031 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.174, allocations: 15.86 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/1.174, allocations: 1.094 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/1.174, allocations: 15.2 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/1.174, allocations: 5.578 kB / 1.345 GB, free: 12.46 MB / 1.061 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 8.038e-05/1.174, allocations: 112.1 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/1.174, allocations: 3.234 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/1.175, allocations: 109.4 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.175, allocations: 1.25 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.175, allocations: 4 kB / 1.345 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.175, allocations: 1.953 kB / 1.345 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/1.175, allocations: 188.2 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.175, allocations: 0.6875 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/1.175, allocations: 16.3 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.175, allocations: 0 / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/1.175, allocations: 1.312 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.175, allocations: 0.75 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.175, allocations: 0 / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/1.175, allocations: 199.6 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/1.175, allocations: 82.97 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/1.175, allocations: 1.125 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/1.175, allocations: 20.19 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/1.175, allocations: 11.88 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/1.175, allocations: 1.25 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.676e-05/1.175, allocations: 90.73 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.175, allocations: 1.344 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003244/1.176, allocations: 35.98 kB / 1.346 GB, free: 11.71 MB / 1.061 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.0007476/1.177, allocations: 0.761 MB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003703/1.177, allocations: 70.97 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.177, allocations: 0 / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/1.177, allocations: 38.84 kB / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/1.177, allocations: 8.281 kB / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/1.179, allocations: 1.437 MB / 1.348 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/1.179, allocations: 0.6825 MB / 1.349 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.441e-05/1.179, allocations: 7.578 kB / 1.349 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/1.179, allocations: 19.44 kB / 1.349 GB, free: 9.051 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/1.179, allocations: 0 / 1.349 GB, free: 9.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/1.199, allocations: 2.553 MB / 1.352 GB, free: 8.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/9.516, allocations: 18.92 kB / 1.352 GB, free: 8.559 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.330591774953064] Failed to read output from testmodel.py, exit status != 0: 9.641516007017344 9.65577655 8.483765116 Calling exit ...