Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.001518/0.001518, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001587/0.001587, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.459/1.459, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.865/2.865, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001965/0.001965, allocations: 67.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9098, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2095/1.119, allocations: 164.9 MB / 1.501 GB, free: 3.258 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005753/1.125, allocations: 3.517 MB / 1.505 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/1.125, allocations: 15.88 kB / 1.505 GB, free: 15.71 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005379/1.126, allocations: 146.9 kB / 1.505 GB, free: 15.57 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/1.127, allocations: 461.9 kB / 1.505 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/1.129, allocations: 0.6098 MB / 1.506 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008506/1.13, allocations: 0.6322 MB / 1.506 GB, free: 13.87 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/1.13, allocations: 190.7 kB / 1.507 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/1.132, allocations: 0.4967 MB / 1.507 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/1.133, allocations: 207.2 kB / 1.507 GB, free: 13 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/1.133, allocations: 20 kB / 1.507 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/1.134, allocations: 0.5807 MB / 1.508 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/1.134, allocations: 99.66 kB / 1.508 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/1.134, allocations: 143.3 kB / 1.508 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008532/1.135, allocations: 0.5606 MB / 1.509 GB, free: 11.59 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.135, allocations: 0 / 1.509 GB, free: 11.59 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.402e-06/1.135, allocations: 0 / 1.509 GB, free: 11.59 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.135, allocations: 0 / 1.509 GB, free: 11.59 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001142/1.136, allocations: 0.6422 MB / 1.509 GB, free: 10.9 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.136, allocations: 8.031 kB / 1.509 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.446e-05/1.136, allocations: 4.438 kB / 1.509 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.44e-05/1.136, allocations: 62.53 kB / 1.509 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005499/1.137, allocations: 75.7 kB / 1.509 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/1.137, allocations: 313.4 kB / 1.51 GB, free: 10.39 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/1.137, allocations: 20.44 kB / 1.51 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/1.137, allocations: 16 kB / 1.51 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/1.138, allocations: 316.2 kB / 1.51 GB, free: 10.03 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.138, allocations: 0 / 1.51 GB, free: 10.03 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/1.138, allocations: 15.94 kB / 1.51 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/1.138, allocations: 7.938 kB / 1.51 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/1.138, allocations: 244.9 kB / 1.51 GB, free: 9.77 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/1.14, allocations: 1.244 MB / 1.512 GB, free: 8.41 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/1.14, allocations: 171.8 kB / 1.512 GB, free: 8.234 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/1.141, allocations: 116.8 kB / 1.512 GB, free: 8.117 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/1.141, allocations: 303.2 kB / 1.512 GB, free: 7.766 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.141, allocations: 42.5 kB / 1.512 GB, free: 7.715 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/1.141, allocations: 0 / 1.512 GB, free: 7.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.002245/1.144, allocations: 0.5702 MB / 1.513 GB, free: 7.117 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.144, allocations: 55.41 kB / 1.513 GB, free: 7.051 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/1.144, allocations: 263 kB / 1.513 GB, free: 6.789 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.144, allocations: 29.7 kB / 1.513 GB, free: 6.754 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.144, allocations: 164.3 kB / 1.513 GB, free: 6.59 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/1.144, allocations: 55.53 kB / 1.513 GB, free: 6.535 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/1.144, allocations: 33.67 kB / 1.513 GB, free: 6.496 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.144, allocations: 338.8 kB / 1.514 GB, free: 6.156 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/1.145, allocations: 95.91 kB / 1.514 GB, free: 6.062 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/1.145, allocations: 141.8 kB / 1.514 GB, free: 5.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/1.146, allocations: 242.6 kB / 1.514 GB, free: 5.66 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.146, allocations: 0 / 1.514 GB, free: 5.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001174/1.147, allocations: 350 kB / 1.514 GB, free: 5.309 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.147, allocations: 11.98 kB / 1.514 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.147, allocations: 0 / 1.514 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/1.147, allocations: 92.89 kB / 1.515 GB, free: 5.203 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.148, allocations: 35.97 kB / 1.515 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.15, allocations: 1.722 MB / 1.516 GB, free: 3.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/1.15, allocations: 31.88 kB / 1.516 GB, free: 3.273 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/1.15, allocations: 11.98 kB / 1.516 GB, free: 3.262 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001576/1.15, allocations: 149.9 kB / 1.516 GB, free: 3.105 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/1.15, allocations: 23.86 kB / 1.516 GB, free: 3.082 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/1.152, allocations: 359.9 kB / 1.517 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.152, allocations: 4 kB / 1.517 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.152, allocations: 3.984 kB / 1.517 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.152, allocations: 0 / 1.517 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/1.153, allocations: 0.7824 MB / 1.518 GB, free: 1.863 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.153, allocations: 3.938 kB / 1.518 GB, free: 1.859 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/1.153, allocations: 35.97 kB / 1.518 GB, free: 1.824 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/1.154, allocations: 80.8 kB / 1.518 GB, free: 1.742 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/1.154, allocations: 8 kB / 1.518 GB, free: 1.734 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/1.156, allocations: 1.731 MB / 1.519 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.156, allocations: 3.938 kB / 1.519 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/1.157, allocations: 454.6 kB / 1.52 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/1.157, allocations: 128.9 kB / 1.52 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/1.157, allocations: 3.938 kB / 1.52 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/1.158, allocations: 23.97 kB / 1.52 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/1.158, allocations: 19.97 kB / 1.52 GB, free: 15.19 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.158, allocations: 8.141 kB / 1.52 GB, free: 15.18 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000183/1.158, allocations: 186 kB / 1.52 GB, free: 15 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.158, allocations: 4 kB / 1.52 GB, free: 15 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004161/1.158, allocations: 83.83 kB / 1.52 GB, free: 14.91 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/1.16, allocations: 1.04 MB / 1.521 GB, free: 13.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.161, allocations: 366.5 kB / 1.522 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.161, allocations: 0 / 1.522 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/1.161, allocations: 254.5 kB / 1.522 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/1.162, allocations: 127.7 kB / 1.522 GB, free: 13.08 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/1.167, allocations: 2.819 MB / 1.525 GB, free: 10.14 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/1.168, allocations: 0.7714 MB / 1.525 GB, free: 9.348 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002075/1.168, allocations: 54.25 kB / 1.526 GB, free: 9.297 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/1.168, allocations: 79.41 kB / 1.526 GB, free: 9.219 MB / 1.201 GB Notification: Performance of SimCode: time 5.61e-07/1.168, allocations: 0 / 1.526 GB, free: 9.219 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/1.2, allocations: 8.735 MB / 1.534 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/13, allocations: 9.688 kB / 1.534 GB, free: 0.6953 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.251221410988364] Failed to read output from testmodel.py, exit status != 0: 13.155078474024776 13.168136546 12.030629719 Calling exit ...