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.001804/0.001804, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00316/0.00316, allocations: 214.3 kB / 23.04 MB, free: 5.078 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.811/2.811, allocations: 476.7 MB / 0.7715 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] 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.002041/0.002041, allocations: 65.7 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00315/0.3025, allocations: 1.31 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3042, allocations: 0.8314 MB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.3043, allocations: 3.938 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.3043, allocations: 3.938 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.3043, allocations: 11.86 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.3049, allocations: 127.5 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.305, allocations: 27.86 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.305, allocations: 4 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.3051, allocations: 11.98 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.3052, allocations: 19.92 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3052, allocations: 0 / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.3055, allocations: 175.7 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.3055, allocations: 0 / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.3056, allocations: 15.92 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3058, allocations: 123.6 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3058, allocations: 0 / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3058, allocations: 0 / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3058, allocations: 0 / 1.287 GB, free: 9.133 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.000511/0.3063, allocations: 290 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3064, allocations: 8.031 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.3064, allocations: 192 / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.3064, allocations: 38.73 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3065, allocations: 0.9375 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3066, allocations: 114.5 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3067, allocations: 55.97 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3067, allocations: 4.312 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3069, allocations: 57.78 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3069, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3069, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3069, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.307, allocations: 23.92 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.3072, allocations: 128.8 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3074, allocations: 46.56 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.3074, allocations: 16.8 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.3076, allocations: 28.06 kB / 1.288 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3077, allocations: 38.5 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3077, allocations: 0 / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002509/0.3079, allocations: 65.67 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.308, allocations: 55.41 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.308, allocations: 97.84 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3081, allocations: 29.7 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3081, allocations: 80.14 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3081, allocations: 7.906 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.3082, allocations: 17.72 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3083, allocations: 318.8 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.3083, allocations: 7.938 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.3084, allocations: 23.92 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.3085, allocations: 24.84 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3085, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.3086, allocations: 57.62 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3087, allocations: 8 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3087, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3087, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.3087, allocations: 7.984 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3087, allocations: 11.94 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.3088, allocations: 0 / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.3088, allocations: 0 / 1.288 GB, free: 7.293 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 0.0001805/0.3089, allocations: 113.8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.309, allocations: 8.406 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3091, allocations: 65.36 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3091, allocations: 4.031 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3092, allocations: 0 / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3092, allocations: 4 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3093, allocations: 132.7 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3093, allocations: 0 / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.3094, allocations: 15.92 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3094, allocations: 7.875 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3094, allocations: 4 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3094, allocations: 0 / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3094, allocations: 0 / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3095, allocations: 85.11 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.3096, allocations: 7.938 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3096, allocations: 4 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.3096, allocations: 3.984 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.3097, allocations: 0 / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3097, allocations: 4 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.3097, allocations: 79.28 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3097, allocations: 4 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002447/0.31, allocations: 31.86 kB / 1.289 GB, free: 6.652 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.0005841/0.3106, allocations: 0.6707 MB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3107, allocations: 23.98 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3107, allocations: 0 / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.3108, allocations: 19.92 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.311, allocations: 10.19 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.3114, allocations: 172.9 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.3119, allocations: 0.6729 MB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.3119, allocations: 11.98 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.3119, allocations: 15.38 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3119, allocations: 0 / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.3352, allocations: 2.146 MB / 1.293 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.97, allocations: 10.53 kB / 1.293 GB, free: 2.957 MB / 0.9825 GB " [Timeout remaining time 287] (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.737716741976328] Failed to read output from testmodel.py, exit status != 0: 12.644953579001594 12.147062584 11.838004519 Calling exit ...