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.002266/0.002266, 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.002491/0.002491, 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.635/1.635, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.15/3.15, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 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.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.002704/0.002704, allocations: 75.91 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9873/0.99, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002146/0.9921, allocations: 1.299 MB / 1.341 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.9933, allocations: 0.8344 MB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.9933, allocations: 0 / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.9933, allocations: 0 / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.9934, allocations: 5.734 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.9938, allocations: 131.9 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.9939, allocations: 31.09 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.994, allocations: 2.984 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.994, allocations: 8.672 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.9941, allocations: 14.78 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.9941, allocations: 1.188 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.9944, allocations: 177.6 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.9944, allocations: 1.172 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.9944, allocations: 9.141 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.9947, allocations: 127.2 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9947, allocations: 4.703 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9947, allocations: 0 / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9947, allocations: 0 / 1.343 GB, free: 14.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003768/0.9951, allocations: 370.3 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.9951, allocations: 9.781 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.271e-05/0.9951, allocations: 4.688 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.006e-05/0.9951, allocations: 32.73 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.9952, allocations: 3.281 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.428e-05/0.9952, allocations: 170.7 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.9953, allocations: 30.77 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.9953, allocations: 5.875 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.9954, allocations: 47.34 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.9955, allocations: 0 / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.9955, allocations: 0 / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9955, allocations: 1.062 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.9956, allocations: 18.53 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.9957, allocations: 162.7 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.9959, allocations: 41.36 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.996, allocations: 16.69 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.9962, allocations: 178.3 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.9962, allocations: 41.06 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.9962, allocations: 3.984 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002357/0.9965, allocations: 68.47 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.9965, allocations: 55.34 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.9965, allocations: 99.23 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.9965, allocations: 30.34 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.309e-05/0.9965, allocations: 81.92 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.9966, allocations: 15.39 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.9966, allocations: 20.8 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.9966, allocations: 313.9 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.9967, allocations: 14.5 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.9967, allocations: 9.172 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.9968, allocations: 29.27 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9968, allocations: 0 / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.9969, allocations: 60.72 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.997, allocations: 9.5 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.997, allocations: 0.7969 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.997, allocations: 1.375 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.997, allocations: 7.094 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.997, allocations: 1.375 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.9971, allocations: 10.12 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.9971, allocations: 1.375 kB / 1.345 GB, free: 12.59 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 (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 4.869e-05/0.9971, allocations: 109.5 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.9971, allocations: 10.06 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.9973, allocations: 68.41 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9973, allocations: 0.7969 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9973, allocations: 1.375 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9973, allocations: 0 / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.9974, allocations: 159.2 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9974, allocations: 0.7969 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.9974, allocations: 16.41 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.9975, allocations: 0 / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9975, allocations: 1.375 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9975, allocations: 4 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9975, allocations: 0.7969 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.9976, allocations: 83.45 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.9977, allocations: 89.81 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.9977, allocations: 2.172 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.9977, allocations: 2.172 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.9978, allocations: 10.91 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.9978, allocations: 5.422 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.9978, allocations: 83.38 kB / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9978, allocations: 0 / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002622/0.998, allocations: 38.02 kB / 1.345 GB, free: 11.94 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 (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.0005013/0.9986, allocations: 0.6562 MB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.9987, allocations: 32.64 kB / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9987, allocations: 0 / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.9988, allocations: 15.86 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.999, allocations: 4.844 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.9995, allocations: 187.9 kB / 1.346 GB, free: 11.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.9996, allocations: 0.6792 MB / 1.347 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.9997, allocations: 2.594 kB / 1.347 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.9997, allocations: 15.41 kB / 1.347 GB, free: 10.42 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9997, allocations: 0 / 1.347 GB, free: 10.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/1.022, allocations: 2.042 MB / 1.349 GB, free: 9.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/9.494, allocations: 21.81 kB / 1.349 GB, free: 9.977 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.298877145978622] Failed to read output from testmodel.py, exit status != 0: 9.623518812004477 9.636809898 8.639399406 Calling exit ...