Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001252/0.001252, allocations: 97.88 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.001439/0.001439, allocations: 217.8 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.493/1.493, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_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.002134/0.002134, allocations: 64.22 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4061, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002541/0.4086, allocations: 1.284 MB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.4101, allocations: 0.7614 MB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.4101, allocations: 3.938 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.4101, allocations: 3.938 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.4102, allocations: 7.922 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.4107, allocations: 131.5 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.4108, allocations: 27.86 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.4109, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.4109, allocations: 11.92 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.411, allocations: 15.92 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.411, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.4114, allocations: 163.8 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.4114, allocations: 7.922 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.4114, allocations: 8 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.4117, allocations: 120.8 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4117, allocations: 4 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4117, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4117, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 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.0005064/0.4122, allocations: 286 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.4123, allocations: 8.031 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.318e-05/0.4123, allocations: 12.17 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.4123, allocations: 30.75 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.4123, allocations: 0.9375 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4125, allocations: 110.5 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-05/0.4126, allocations: 59.97 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4126, allocations: 4.375 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4128, allocations: 79.44 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4128, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4128, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4128, allocations: 4 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.4129, allocations: 11.98 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.4131, allocations: 128.8 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4133, allocations: 38.61 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.4133, allocations: 24.94 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.4136, allocations: 23.97 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4136, allocations: 38.44 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.4136, allocations: 0 / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002597/0.4139, allocations: 69.62 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.4139, allocations: 55.41 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.414, allocations: 97.86 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.414, allocations: 33.69 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.4141, allocations: 80.14 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.4141, allocations: 11.91 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.4141, allocations: 13.72 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4143, allocations: 314.8 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.4143, allocations: 15.98 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.4144, allocations: 7.938 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.4145, allocations: 33.31 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4145, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/0.4146, allocations: 65.59 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4146, allocations: 11.94 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.4146, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4146, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.4147, allocations: 4 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4147, allocations: 4 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.4147, allocations: 7.984 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4147, allocations: 4 kB / 1.288 GB, free: 6.242 MB / 0.9825 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.208e-05/0.4148, allocations: 113.8 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.4148, allocations: 7.938 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.415, allocations: 69.31 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.415, allocations: 0 / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.415, allocations: 0 / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4151, allocations: 0 / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4152, allocations: 136.7 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4152, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.4152, allocations: 7.938 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4152, allocations: 4 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.4152, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4152, allocations: 4 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4152, allocations: 3.938 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.4154, allocations: 81.11 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.4154, allocations: 11.92 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.4154, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.4155, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.4156, allocations: 8 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4156, allocations: 3.984 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.4156, allocations: 79.28 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4156, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002385/0.4158, allocations: 39.88 kB / 1.289 GB, free: 5.605 MB / 0.9825 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.000591/0.4164, allocations: 0.6668 MB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.4166, allocations: 23.98 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4166, allocations: 0 / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.4167, allocations: 20.34 kB / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.417, allocations: 10.12 kB / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.4174, allocations: 177 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.4175, allocations: 59.34 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.4175, allocations: 12.06 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.4175, allocations: 15.44 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.4175, allocations: 0 / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.44, allocations: 2.19 MB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.91, allocations: 16.8 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.89157357404474] Failed to read output from testmodel.py, exit status != 0: 12.712479301961139 12.105003943 11.687514455 Calling exit ...