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.001203/0.001203, 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.001306/0.001306, allocations: 214.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.301/1.301, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] 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.875/2.875, allocations: 0.5003 GB / 0.8061 GB, free: 26.84 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.001788/0.001788, allocations: 67.7 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2972, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1757/0.4729, allocations: 165.1 MB / 1.507 GB, free: 10.82 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.4777, allocations: 3.549 MB / 1.51 GB, free: 7.254 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.478, allocations: 15.88 kB / 1.51 GB, free: 7.238 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.4784, allocations: 135 kB / 1.51 GB, free: 7.105 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.4795, allocations: 481.9 kB / 1.511 GB, free: 6.633 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.4811, allocations: 0.6231 MB / 1.511 GB, free: 6.012 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007498/0.4818, allocations: 0.64 MB / 1.512 GB, free: 5.371 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.4822, allocations: 185 kB / 1.512 GB, free: 5.191 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.4838, allocations: 0.5143 MB / 1.513 GB, free: 4.688 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.4841, allocations: 199.2 kB / 1.513 GB, free: 4.492 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.4841, allocations: 23.94 kB / 1.513 GB, free: 4.469 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/0.485, allocations: 0.5885 MB / 1.513 GB, free: 3.879 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4851, allocations: 99.66 kB / 1.513 GB, free: 3.781 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.4853, allocations: 139.3 kB / 1.514 GB, free: 3.645 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007678/0.4861, allocations: 0.5606 MB / 1.514 GB, free: 3.082 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4861, allocations: 4 kB / 1.514 GB, free: 3.078 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4861, allocations: 4 kB / 1.514 GB, free: 3.074 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4861, allocations: 0 / 1.514 GB, free: 3.074 MB / 1.201 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.001/0.4871, allocations: 0.5708 MB / 1.515 GB, free: 2.473 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4871, allocations: 8.031 kB / 1.515 GB, free: 2.465 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.614e-05/0.4871, allocations: 8.438 kB / 1.515 GB, free: 2.457 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.4872, allocations: 54.55 kB / 1.515 GB, free: 2.395 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005158/0.4877, allocations: 83.69 kB / 1.515 GB, free: 2.312 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4881, allocations: 247.6 kB / 1.515 GB, free: 2.039 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.4881, allocations: 16.44 kB / 1.515 GB, free: 2.023 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.4881, allocations: 16 kB / 1.515 GB, free: 2.008 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.4888, allocations: 312.2 kB / 1.515 GB, free: 1.684 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4888, allocations: 7.938 kB / 1.515 GB, free: 1.676 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.4888, allocations: 7.938 kB / 1.515 GB, free: 1.668 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4888, allocations: 4 kB / 1.515 GB, free: 1.664 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.4894, allocations: 252.9 kB / 1.516 GB, free: 1.418 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.491, allocations: 1.21 MB / 1.517 GB, free: 104 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.4914, allocations: 158.5 kB / 1.517 GB, free: 15.94 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.4917, allocations: 116.8 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004407/0.4922, allocations: 79.83 kB / 1.517 GB, free: 15.74 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4922, allocations: 38.56 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.4922, allocations: 0 / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=14): time 0.002124/0.4943, allocations: 0.5018 MB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4944, allocations: 55.41 kB / 1.518 GB, free: 15.12 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4946, allocations: 264.2 kB / 1.518 GB, free: 14.85 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4946, allocations: 33.7 kB / 1.518 GB, free: 14.81 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4948, allocations: 164.3 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.4948, allocations: 47.59 kB / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.4949, allocations: 45.66 kB / 1.518 GB, free: 14.54 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.495, allocations: 326.8 kB / 1.519 GB, free: 14.21 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4953, allocations: 95.91 kB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.4956, allocations: 136.1 kB / 1.519 GB, free: 13.97 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.4962, allocations: 250.4 kB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4962, allocations: 0 / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/0.4973, allocations: 354.1 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4973, allocations: 8.031 kB / 1.519 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4973, allocations: 4 kB / 1.519 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.4979, allocations: 84.77 kB / 1.519 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.4981, allocations: 39.97 kB / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.5003, allocations: 1.629 MB / 1.521 GB, free: 11.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.5005, allocations: 27.88 kB / 1.521 GB, free: 11.45 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.5005, allocations: 8 kB / 1.521 GB, free: 11.45 MB / 1.217 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.0001559/0.5007, allocations: 149.9 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.5007, allocations: 27.8 kB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.5019, allocations: 355.9 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5019, allocations: 3.984 kB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.5019, allocations: 4 kB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5019, allocations: 0 / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.5036, allocations: 0.7502 MB / 1.522 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5036, allocations: 7.984 kB / 1.522 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.5037, allocations: 31.97 kB / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.5042, allocations: 80.81 kB / 1.522 GB, free: 9.965 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5042, allocations: 4 kB / 1.522 GB, free: 9.961 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.5062, allocations: 1.648 MB / 1.524 GB, free: 8.188 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5062, allocations: 4.031 kB / 1.524 GB, free: 8.184 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.5073, allocations: 448.5 kB / 1.525 GB, free: 7.719 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5074, allocations: 55.72 kB / 1.525 GB, free: 7.664 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5074, allocations: 11.94 kB / 1.525 GB, free: 7.652 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.5076, allocations: 19.97 kB / 1.525 GB, free: 7.633 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.5077, allocations: 15.97 kB / 1.525 GB, free: 7.617 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.5078, allocations: 8 kB / 1.525 GB, free: 7.609 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002408/0.508, allocations: 191.1 kB / 1.525 GB, free: 7.426 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.61e-07/0.508, allocations: 0 / 1.525 GB, free: 7.426 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004511/0.5085, allocations: 79.89 kB / 1.525 GB, free: 7.348 MB / 1.217 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.001558/0.51, allocations: 1.028 MB / 1.526 GB, free: 6.277 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009492/0.511, allocations: 350.4 kB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.511, allocations: 256 / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.5115, allocations: 262.5 kB / 1.526 GB, free: 5.652 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.5122, allocations: 128 kB / 1.527 GB, free: 5.539 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.5169, allocations: 2.83 MB / 1.529 GB, free: 2.586 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.5173, allocations: 0.7714 MB / 1.53 GB, free: 1.789 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.5175, allocations: 50.27 kB / 1.53 GB, free: 1.742 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.5176, allocations: 79.41 kB / 1.53 GB, free: 1.664 MB / 1.217 GB Notification: Performance of SimCode: time 6.52e-07/0.5176, allocations: 0 / 1.53 GB, free: 1.664 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.5509, allocations: 8.874 MB / 1.539 GB, free: 8.996 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.44, allocations: 18.27 kB / 1.539 GB, free: 8.988 MB / 1.233 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: 18.337126079015434] Failed to read output from testmodel.py, exit status != 0: 12.602525648020674 12.616950782 12.128056908 Calling exit ...