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.001665/0.001665, 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.002303/0.002303, allocations: 218.7 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.066/3.066, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.001908/0.001908, allocations: 67.61 kB / 1.171 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3528, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1733/0.5262, allocations: 142.2 MB / 1.484 GB, free: 1.184 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005163/0.5313, allocations: 3.256 MB / 1.487 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.5317, allocations: 15.88 kB / 1.487 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.5321, allocations: 142.9 kB / 1.488 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5334, allocations: 450 kB / 1.488 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.5351, allocations: 0.6219 MB / 1.489 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.5359, allocations: 0.64 MB / 1.489 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.5362, allocations: 180.9 kB / 1.489 GB, free: 11.88 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.5381, allocations: 0.5141 MB / 1.49 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.5384, allocations: 203.1 kB / 1.49 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.5384, allocations: 20 kB / 1.49 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009351/0.5394, allocations: 478.8 kB / 1.491 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.5395, allocations: 107.6 kB / 1.491 GB, free: 10.58 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.5397, allocations: 115.5 kB / 1.491 GB, free: 10.47 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009484/0.5406, allocations: 0.545 MB / 1.491 GB, free: 9.922 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5406, allocations: 4 kB / 1.491 GB, free: 9.918 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5406, allocations: 3.938 kB / 1.491 GB, free: 9.914 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5406, allocations: 0 / 1.491 GB, free: 9.914 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.001101/0.5417, allocations: 0.5689 MB / 1.492 GB, free: 9.316 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5418, allocations: 12.03 kB / 1.492 GB, free: 9.305 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.64e-05/0.5418, allocations: 8.438 kB / 1.492 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.5419, allocations: 54.55 kB / 1.492 GB, free: 9.234 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/0.5424, allocations: 83.69 kB / 1.492 GB, free: 9.152 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.5429, allocations: 247.6 kB / 1.492 GB, free: 8.879 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5429, allocations: 16.38 kB / 1.492 GB, free: 8.863 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.5429, allocations: 23.94 kB / 1.492 GB, free: 8.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.5436, allocations: 363.6 kB / 1.493 GB, free: 8.453 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5436, allocations: 0 / 1.493 GB, free: 8.453 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.5437, allocations: 11.94 kB / 1.493 GB, free: 8.441 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5437, allocations: 4 kB / 1.493 GB, free: 8.438 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.5443, allocations: 252.9 kB / 1.493 GB, free: 8.191 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.5459, allocations: 0.9834 MB / 1.494 GB, free: 7.145 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.5464, allocations: 158.5 kB / 1.494 GB, free: 6.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.5467, allocations: 116.8 kB / 1.494 GB, free: 6.863 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.5472, allocations: 79.91 kB / 1.494 GB, free: 6.785 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5472, allocations: 34.55 kB / 1.494 GB, free: 6.742 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.5472, allocations: 0 / 1.494 GB, free: 6.742 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.002295/0.5495, allocations: 0.5071 MB / 1.495 GB, free: 6.227 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5495, allocations: 55.41 kB / 1.495 GB, free: 6.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.5498, allocations: 264.2 kB / 1.495 GB, free: 5.891 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.5499, allocations: 25.7 kB / 1.495 GB, free: 5.859 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.55, allocations: 172.2 kB / 1.495 GB, free: 5.684 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.55, allocations: 43.64 kB / 1.495 GB, free: 5.641 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.5501, allocations: 37.67 kB / 1.495 GB, free: 5.598 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5503, allocations: 338.8 kB / 1.496 GB, free: 5.258 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.5506, allocations: 99.91 kB / 1.496 GB, free: 5.16 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.5509, allocations: 161.8 kB / 1.496 GB, free: 4.98 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.5515, allocations: 237.5 kB / 1.496 GB, free: 4.734 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5515, allocations: 0 / 1.496 GB, free: 4.734 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001206/0.5527, allocations: 354 kB / 1.496 GB, free: 4.379 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5527, allocations: 7.938 kB / 1.496 GB, free: 4.371 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5528, allocations: 3.984 kB / 1.496 GB, free: 4.367 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/0.5534, allocations: 88.89 kB / 1.496 GB, free: 4.277 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.5536, allocations: 35.97 kB / 1.497 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.556, allocations: 1.626 MB / 1.498 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.5562, allocations: 35.86 kB / 1.498 GB, free: 2.469 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.5563, allocations: 7.938 kB / 1.498 GB, free: 2.461 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.0001838/0.5564, allocations: 146 kB / 1.498 GB, free: 2.309 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.5565, allocations: 27.92 kB / 1.498 GB, free: 2.281 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.5577, allocations: 370 kB / 1.499 GB, free: 1.914 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5577, allocations: 4 kB / 1.499 GB, free: 1.91 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.5577, allocations: 0 / 1.499 GB, free: 1.91 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5577, allocations: 0 / 1.499 GB, free: 1.91 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.5595, allocations: 0.7192 MB / 1.499 GB, free: 1.129 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5595, allocations: 0 / 1.499 GB, free: 1.129 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.5597, allocations: 43.98 kB / 1.499 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.5601, allocations: 80.72 kB / 1.5 GB, free: 1.004 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.5602, allocations: 4 kB / 1.5 GB, free: 1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.5623, allocations: 1.632 MB / 1.501 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5623, allocations: 3.938 kB / 1.501 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.5635, allocations: 454.5 kB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.5636, allocations: 47.73 kB / 1.502 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.5636, allocations: 11.88 kB / 1.502 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.5639, allocations: 23.97 kB / 1.502 GB, free: 14.68 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.564, allocations: 15.97 kB / 1.502 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.564, allocations: 11.98 kB / 1.502 GB, free: 14.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001997/0.5642, allocations: 187.1 kB / 1.502 GB, free: 14.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5642, allocations: 4 kB / 1.502 GB, free: 14.47 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004449/0.5647, allocations: 79.89 kB / 1.502 GB, free: 14.39 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.001679/0.5663, allocations: 1.031 MB / 1.503 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.5674, allocations: 353.5 kB / 1.503 GB, free: 12.97 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5674, allocations: 0 / 1.503 GB, free: 12.97 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.568, allocations: 258.7 kB / 1.503 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.5687, allocations: 125 kB / 1.504 GB, free: 12.58 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/0.5736, allocations: 2.814 MB / 1.506 GB, free: 9.645 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.5738, allocations: 162.8 kB / 1.507 GB, free: 9.465 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000197/0.574, allocations: 62.22 kB / 1.507 GB, free: 9.406 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5741, allocations: 79.41 kB / 1.507 GB, free: 9.328 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.5741, allocations: 0 / 1.507 GB, free: 9.328 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.6234, allocations: 9.182 MB / 1.516 GB, free: 420 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.39, allocations: 5.891 kB / 1.516 GB, free: 416 kB / 1.201 GB " [Timeout remaining time 286] (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.834980638930574] Failed to read output from testmodel.py, exit status != 0: 13.564986597979441 13.581397385 13.037342282 Calling exit ...