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.001376/0.001376, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001532/0.001532, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.843/2.843, allocations: 476.7 MB / 0.7715 GB, free: 4.262 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.002012/0.002012, allocations: 63.25 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4195, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003459/0.4229, allocations: 1.535 MB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4245, allocations: 0.8156 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.4245, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.4246, allocations: 7.922 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.4246, allocations: 7.922 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.4251, allocations: 131.4 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4253, allocations: 55.8 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.4254, allocations: 19.5 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.4254, allocations: 15.98 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.4255, allocations: 27.84 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4255, allocations: 4 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.426, allocations: 175.7 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.426, allocations: 11.98 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.426, allocations: 23.86 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.4264, allocations: 159.4 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4264, allocations: 0 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4264, allocations: 0 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4264, allocations: 0 / 1.287 GB, free: 8.727 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.0007629/0.4272, allocations: 329.8 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4272, allocations: 12.03 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.914e-05/0.4273, allocations: 192 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.4273, allocations: 30.75 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.4273, allocations: 8.891 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4275, allocations: 114.5 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4275, allocations: 384 / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4275, allocations: 12.31 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.4278, allocations: 77.95 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4278, allocations: 7.875 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4279, allocations: 0 / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4279, allocations: 0 / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.4282, allocations: 71.92 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.4287, allocations: 251.8 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.4289, allocations: 58.48 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.4291, allocations: 36.91 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.4292, allocations: 19.98 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4292, allocations: 30.56 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.4293, allocations: 0 / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.4298, allocations: 133.5 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4299, allocations: 51.41 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.43, allocations: 121.8 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.43, allocations: 25.7 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.4301, allocations: 92.14 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4301, allocations: 15.91 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.4302, allocations: 17.7 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4304, allocations: 318.8 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4305, allocations: 35.97 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.4307, allocations: 31.95 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.431, allocations: 68.78 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.431, allocations: 4 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003324/0.4313, allocations: 93.62 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4313, allocations: 4 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4313, allocations: 0 / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.4313, allocations: 4 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4315, allocations: 15.92 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4315, allocations: 3.984 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.719e-05/0.4316, allocations: 19.94 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4316, allocations: 0 / 1.289 GB, free: 6.453 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 (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.0001175/0.4317, allocations: 118.9 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4317, allocations: 3.938 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.4321, allocations: 109.6 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4321, allocations: 4 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4321, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4321, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.4323, allocations: 152.6 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4323, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.4325, allocations: 19.98 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4325, allocations: 3.938 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4325, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4325, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4325, allocations: 11.92 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.4329, allocations: 199.4 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.4329, allocations: 3.953 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4329, allocations: 4 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.433, allocations: 11.98 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.4331, allocations: 11.98 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4331, allocations: 0 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.4331, allocations: 95.64 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4331, allocations: 0 / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002949/0.4334, allocations: 31.88 kB / 1.29 GB, free: 5.609 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 (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.0008063/0.4342, allocations: 0.7634 MB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.4346, allocations: 71.95 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4346, allocations: 4 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.4348, allocations: 39.91 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.4352, allocations: 10.33 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.4372, allocations: 1.433 MB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4375, allocations: 0.6807 MB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.4376, allocations: 3.984 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.4376, allocations: 23.44 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.4376, allocations: 0 / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.4619, allocations: 2.65 MB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.56, allocations: 6.438 kB / 1.295 GB, free: 15.95 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.785296140995342] Failed to read output from testmodel.py, exit status != 0: 12.448748872964643 11.752035013 11.320147468 Calling exit ...