Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001212/0.001212, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001312/0.001312, allocations: 217.8 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.313/1.313, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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 2.829/2.829, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_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.001828/0.001828, allocations: 63.42 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2807, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1821/0.4628, allocations: 165.1 MB / 1.488 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.4677, allocations: 3.544 MB / 1.491 GB, free: 8.734 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.468, allocations: 15.88 kB / 1.491 GB, free: 8.719 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.4684, allocations: 135 kB / 1.491 GB, free: 8.586 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.4696, allocations: 477.9 kB / 1.492 GB, free: 8.117 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.4711, allocations: 0.6306 MB / 1.493 GB, free: 7.488 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.4718, allocations: 0.6322 MB / 1.493 GB, free: 6.855 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.4722, allocations: 188.9 kB / 1.493 GB, free: 6.672 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.4738, allocations: 0.5142 MB / 1.494 GB, free: 6.172 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.4742, allocations: 199.2 kB / 1.494 GB, free: 5.977 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.4742, allocations: 24 kB / 1.494 GB, free: 5.953 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/0.4752, allocations: 0.5924 MB / 1.495 GB, free: 5.359 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.4753, allocations: 95.66 kB / 1.495 GB, free: 5.266 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.4754, allocations: 147.2 kB / 1.495 GB, free: 5.121 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009193/0.4763, allocations: 0.5567 MB / 1.495 GB, free: 4.562 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4764, allocations: 0 / 1.495 GB, free: 4.562 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4764, allocations: 0 / 1.495 GB, free: 4.562 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4764, allocations: 0 / 1.495 GB, free: 4.562 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.001083/0.4774, allocations: 0.5747 MB / 1.496 GB, free: 3.953 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4775, allocations: 12.03 kB / 1.496 GB, free: 3.941 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.754e-05/0.4775, allocations: 8.438 kB / 1.496 GB, free: 3.934 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.4776, allocations: 58.48 kB / 1.496 GB, free: 3.867 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.4781, allocations: 75.69 kB / 1.496 GB, free: 3.793 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.4785, allocations: 243.7 kB / 1.496 GB, free: 3.531 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4785, allocations: 12.44 kB / 1.496 GB, free: 3.52 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.4786, allocations: 24 kB / 1.496 GB, free: 3.496 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.4792, allocations: 316.1 kB / 1.497 GB, free: 3.164 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4792, allocations: 0 / 1.497 GB, free: 3.164 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.4792, allocations: 15.94 kB / 1.497 GB, free: 3.148 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4793, allocations: 4 kB / 1.497 GB, free: 3.145 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.4799, allocations: 248.9 kB / 1.497 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.4816, allocations: 1.214 MB / 1.498 GB, free: 1.578 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.482, allocations: 166.5 kB / 1.498 GB, free: 1.406 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.4824, allocations: 120.7 kB / 1.498 GB, free: 1.285 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.4828, allocations: 71.92 kB / 1.498 GB, free: 1.215 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4828, allocations: 38.5 kB / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.4828, allocations: 0 / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.002167/0.485, allocations: 0.5096 MB / 1.499 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.4851, allocations: 51.41 kB / 1.499 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4854, allocations: 268.1 kB / 1.499 GB, free: 324 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.4854, allocations: 29.7 kB / 1.499 GB, free: 288 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4855, allocations: 164.2 kB / 1.499 GB, free: 116 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.4856, allocations: 47.59 kB / 1.5 GB, free: 68 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.4856, allocations: 37.7 kB / 1.5 GB, free: 24 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.4858, allocations: 334.8 kB / 1.5 GB, free: 15.69 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.4861, allocations: 95.92 kB / 1.5 GB, free: 15.59 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.4865, allocations: 137.9 kB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.487, allocations: 232.1 kB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.487, allocations: 4 kB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001111/0.4882, allocations: 358 kB / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4882, allocations: 4 kB / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4882, allocations: 0 / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.4888, allocations: 92.88 kB / 1.501 GB, free: 14.74 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.489, allocations: 39.91 kB / 1.501 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.4913, allocations: 1.635 MB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.4915, allocations: 35.88 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.4915, allocations: 8 kB / 1.502 GB, free: 12.91 MB / 1.201 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.000216/0.4918, allocations: 149.8 kB / 1.503 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.4918, allocations: 19.86 kB / 1.503 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.493, allocations: 382.9 kB / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.493, allocations: 0 / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.493, allocations: 7.984 kB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.493, allocations: 0 / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.4947, allocations: 0.7425 MB / 1.504 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4947, allocations: 0 / 1.504 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4949, allocations: 36.06 kB / 1.504 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/0.4953, allocations: 84.7 kB / 1.504 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.4953, allocations: 4 kB / 1.504 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.4974, allocations: 1.64 MB / 1.505 GB, free: 9.652 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4974, allocations: 0 / 1.505 GB, free: 9.652 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4986, allocations: 450.6 kB / 1.506 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.4987, allocations: 51.77 kB / 1.506 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4988, allocations: 3.938 kB / 1.506 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.499, allocations: 23.97 kB / 1.506 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.4991, allocations: 23.97 kB / 1.506 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.4991, allocations: 8.062 kB / 1.506 GB, free: 9.074 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002218/0.4993, allocations: 191.1 kB / 1.506 GB, free: 8.887 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.4993, allocations: 0 / 1.506 GB, free: 8.887 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000414/0.4997, allocations: 87.83 kB / 1.506 GB, free: 8.801 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.001599/0.5013, allocations: 1.033 MB / 1.507 GB, free: 7.727 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.5024, allocations: 353 kB / 1.508 GB, free: 7.371 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5024, allocations: 0 / 1.508 GB, free: 7.371 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.503, allocations: 250.7 kB / 1.508 GB, free: 7.113 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.5037, allocations: 122.9 kB / 1.508 GB, free: 6.996 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.5087, allocations: 2.822 MB / 1.511 GB, free: 4.059 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.5091, allocations: 0.7791 MB / 1.511 GB, free: 3.254 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.5093, allocations: 58.25 kB / 1.511 GB, free: 3.199 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5094, allocations: 71.42 kB / 1.512 GB, free: 3.129 MB / 1.201 GB Notification: Performance of SimCode: time 7.72e-07/0.5094, allocations: 0 / 1.512 GB, free: 3.129 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.5437, allocations: 8.879 MB / 1.52 GB, free: 10.48 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.31, allocations: 7.688 kB / 1.52 GB, free: 10.48 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.202390207035933] Failed to read output from testmodel.py, exit status != 0: 12.482122991990764 12.499734988 12.019962608 Calling exit ...