Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001347/0.001347, allocations: 97.31 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.00144/0.00144, allocations: 219.1 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_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.00198/0.00198, allocations: 77.8 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4066, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003387/0.41, allocations: 1.486 MB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.4115, allocations: 0.7596 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.4115, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.4116, allocations: 3.938 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.4116, allocations: 11.86 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.4121, allocations: 131.5 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.4123, allocations: 59.78 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4124, allocations: 15.92 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.4124, allocations: 15.94 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.4125, allocations: 27.91 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4125, allocations: 8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.4129, allocations: 163.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.4129, allocations: 15.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.4129, allocations: 15.92 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.4132, allocations: 151.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4132, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4133, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4133, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 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.0006641/0.4139, allocations: 329.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.414, allocations: 8.031 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.493e-05/0.414, allocations: 4.125 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.414, allocations: 38.73 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.4141, allocations: 4.891 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4142, allocations: 118.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4142, allocations: 8.312 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.4142, allocations: 8.312 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.4145, allocations: 73.97 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4145, allocations: 7.984 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4145, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4145, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.4148, allocations: 67.92 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.4152, allocations: 251.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.4154, allocations: 50.55 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.4156, allocations: 40.91 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.4157, allocations: 15.98 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.4158, allocations: 34.56 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4158, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005471/0.4163, allocations: 133.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.4164, allocations: 55.39 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4165, allocations: 117.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4165, allocations: 25.7 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.4166, allocations: 88.14 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.4166, allocations: 7.906 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.4167, allocations: 21.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4168, allocations: 318.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.417, allocations: 35.95 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.4171, allocations: 27.97 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.4174, allocations: 68.78 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4174, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000345/0.4177, allocations: 105.9 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4177, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4177, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.4178, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4179, allocations: 15.92 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.4179, allocations: 7.969 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.418, allocations: 19.94 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.418, allocations: 3.984 kB / 1.331 GB, free: 12.36 MB / 1.029 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.0001276/0.4181, allocations: 118.3 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.4181, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.4185, allocations: 105.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4185, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4185, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4185, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.4188, allocations: 144.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4188, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.4188, allocations: 15.98 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4188, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4189, allocations: 3.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4189, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4189, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.4193, allocations: 203.4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.4193, allocations: 11.89 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4193, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4194, allocations: 11.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.4195, allocations: 11.92 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.4195, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.844e-05/0.4196, allocations: 95.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4196, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002904/0.4198, allocations: 35.88 kB / 1.332 GB, free: 11.52 MB / 1.029 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.0008564/0.4207, allocations: 0.7514 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.421, allocations: 79.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.421, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4212, allocations: 35.95 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.4215, allocations: 8.266 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.4236, allocations: 1.434 MB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.4236, allocations: 67.34 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.4237, allocations: 7.906 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.4237, allocations: 23.42 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4237, allocations: 0 / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.4481, allocations: 2.753 MB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.64, allocations: 8.094 kB / 1.337 GB, free: 6.395 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.803039698977955] Failed to read output from testmodel.py, exit status != 0: 11.814528001006693 11.831918427 11.41538392 Calling exit ...