Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001927/0.001927, 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.001521/0.001521, 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.929/2.929, allocations: 476.8 MB / 0.7715 GB, free: 3.91 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.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_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.002/0.002, allocations: 70.97 kB / 1.118 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 169.9 MB / 1.284 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002853/0.3427, allocations: 1.506 MB / 1.286 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3441, allocations: 0.7374 MB / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.3442, allocations: 0 / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.3442, allocations: 3.938 kB / 1.286 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.3443, allocations: 15.91 kB / 1.286 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.3448, allocations: 135.4 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.3449, allocations: 47.86 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.345, allocations: 16.2 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.3451, allocations: 23.91 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.3451, allocations: 27.86 kB / 1.287 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3451, allocations: 4 kB / 1.287 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.3455, allocations: 167.7 kB / 1.287 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.3455, allocations: 11.97 kB / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.3455, allocations: 23.88 kB / 1.287 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3458, allocations: 147.6 kB / 1.287 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3458, allocations: 4 kB / 1.287 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3458, allocations: 0 / 1.287 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3458, allocations: 0 / 1.287 GB, free: 0.5039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005955/0.3464, allocations: 325.8 kB / 1.287 GB, free: 156 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3465, allocations: 12.03 kB / 1.287 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.3465, allocations: 4.125 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.3465, allocations: 38.73 kB / 1.287 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.3466, allocations: 12.83 kB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3468, allocations: 110.5 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3468, allocations: 384 / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3468, allocations: 8.359 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.3471, allocations: 77.95 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3471, allocations: 0 / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3471, allocations: 4 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3471, allocations: 0 / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.3474, allocations: 75.86 kB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3478, allocations: 251.8 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.348, allocations: 50.55 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3482, allocations: 40.91 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.3483, allocations: 20 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.3484, allocations: 30.56 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3484, allocations: 0 / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005515/0.3489, allocations: 133.5 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.349, allocations: 51.41 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3491, allocations: 113.8 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3491, allocations: 33.7 kB / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.3492, allocations: 88.12 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3492, allocations: 19.89 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3492, allocations: 9.719 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3494, allocations: 322.8 kB / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3495, allocations: 35.89 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3497, allocations: 35.91 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3499, allocations: 72.78 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3499, allocations: 0 / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003138/0.3502, allocations: 97.62 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3503, allocations: 4 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3503, allocations: 4 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3503, allocations: 0 / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3504, allocations: 19.97 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3504, allocations: 0 / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.3505, allocations: 11.98 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3505, allocations: 0 / 1.289 GB, free: 14.23 MB / 0.9981 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 0.000138/0.3506, allocations: 121.7 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3507, allocations: 3.953 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.351, allocations: 109.6 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.351, allocations: 4.312 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.351, allocations: 0 / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.351, allocations: 7.984 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.3512, allocations: 132.7 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3512, allocations: 3.984 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.3513, allocations: 19.98 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3513, allocations: 4 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3513, allocations: 0 / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3513, allocations: 0 / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3513, allocations: 0 / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3517, allocations: 203.3 kB / 1.289 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.3517, allocations: 0 / 1.289 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3517, allocations: 4 kB / 1.289 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3519, allocations: 15.98 kB / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3519, allocations: 7.984 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.3519, allocations: 0 / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.352, allocations: 91.27 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.352, allocations: 0 / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003032/0.3523, allocations: 43.77 kB / 1.29 GB, free: 13.4 MB / 0.9981 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.0008284/0.3531, allocations: 0.763 MB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3534, allocations: 67.91 kB / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3534, allocations: 0 / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3536, allocations: 31.97 kB / 1.29 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3539, allocations: 20 kB / 1.29 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.356, allocations: 1.439 MB / 1.292 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.3561, allocations: 63.34 kB / 1.292 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.3561, allocations: 7.984 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.3562, allocations: 15.44 kB / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3562, allocations: 0 / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.3838, allocations: 2.74 MB / 1.295 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.09, allocations: 10.62 kB / 1.295 GB, free: 8.293 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.769705630955286] Failed to read output from testmodel.py, exit status != 0: 12.259317700052634 12.278126735 11.929127789 Calling exit ...