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.001333/0.001333, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001395/0.001395, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.809/2.809, allocations: 0.49 GB / 0.7923 GB, free: 1.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.001927/0.001927, allocations: 72.12 kB / 1.15 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8922, allocations: 176.1 MB / 1.321 GB, free: 24.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2087/1.101, allocations: 164.9 MB / 1.483 GB, free: 15.55 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005886/1.107, allocations: 3.521 MB / 1.486 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/1.107, allocations: 14.75 kB / 1.486 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/1.108, allocations: 137.6 kB / 1.486 GB, free: 12.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/1.11, allocations: 465.9 kB / 1.487 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/1.111, allocations: 0.608 MB / 1.487 GB, free: 11.79 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008162/1.112, allocations: 0.6279 MB / 1.488 GB, free: 11.43 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/1.112, allocations: 206 kB / 1.488 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/1.114, allocations: 0.4931 MB / 1.488 GB, free: 11.01 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/1.115, allocations: 208.2 kB / 1.489 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/1.115, allocations: 21.69 kB / 1.489 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/1.116, allocations: 0.5746 MB / 1.489 GB, free: 10.56 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/1.116, allocations: 97.22 kB / 1.489 GB, free: 10.49 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/1.116, allocations: 143.9 kB / 1.489 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008877/1.117, allocations: 0.5586 MB / 1.49 GB, free: 10.05 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/1.117, allocations: 1.188 kB / 1.49 GB, free: 10.05 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.282e-06/1.117, allocations: 0 / 1.49 GB, free: 10.05 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.291e-06/1.117, allocations: 0 / 1.49 GB, free: 10.05 MB / 1.17 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.00123/1.118, allocations: 0.6433 MB / 1.491 GB, free: 9.477 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.118, allocations: 17.7 kB / 1.491 GB, free: 9.469 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.934e-05/1.118, allocations: 10.09 kB / 1.491 GB, free: 9.465 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.892e-05/1.118, allocations: 53.61 kB / 1.491 GB, free: 9.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/1.119, allocations: 81.72 kB / 1.491 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/1.119, allocations: 306.5 kB / 1.491 GB, free: 9.082 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.119, allocations: 16.5 kB / 1.491 GB, free: 9.074 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/1.119, allocations: 21.06 kB / 1.491 GB, free: 9.066 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/1.12, allocations: 314.7 kB / 1.491 GB, free: 8.859 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.12, allocations: 3.984 kB / 1.491 GB, free: 8.855 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/1.12, allocations: 14.72 kB / 1.491 GB, free: 8.844 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/1.12, allocations: 4.062 kB / 1.491 GB, free: 8.844 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/1.121, allocations: 250.2 kB / 1.492 GB, free: 8.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/1.123, allocations: 1.247 MB / 1.493 GB, free: 7.57 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/1.123, allocations: 163.1 kB / 1.493 GB, free: 7.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/1.124, allocations: 118.7 kB / 1.493 GB, free: 7.418 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/1.124, allocations: 307.9 kB / 1.493 GB, free: 7.105 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.124, allocations: 35.62 kB / 1.493 GB, free: 7.062 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/1.124, allocations: 0 / 1.493 GB, free: 7.062 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002314/1.127, allocations: 0.5747 MB / 1.494 GB, free: 6.711 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/1.127, allocations: 52.97 kB / 1.494 GB, free: 6.648 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/1.127, allocations: 264.4 kB / 1.494 GB, free: 6.469 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.127, allocations: 39.2 kB / 1.494 GB, free: 6.426 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.127, allocations: 157.7 kB / 1.495 GB, free: 6.281 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/1.127, allocations: 53.78 kB / 1.495 GB, free: 6.234 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/1.127, allocations: 39.92 kB / 1.495 GB, free: 6.203 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.127, allocations: 331.9 kB / 1.495 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/1.128, allocations: 98.19 kB / 1.495 GB, free: 5.828 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/1.128, allocations: 135 kB / 1.495 GB, free: 5.738 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/1.129, allocations: 237.9 kB / 1.495 GB, free: 5.598 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.129, allocations: 0 / 1.495 GB, free: 5.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001221/1.13, allocations: 364.2 kB / 1.496 GB, free: 5.395 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.13, allocations: 6.438 kB / 1.496 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.13, allocations: 0 / 1.496 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006444/1.131, allocations: 92.19 kB / 1.496 GB, free: 5.348 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.131, allocations: 41.25 kB / 1.496 GB, free: 5.336 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/1.133, allocations: 1.712 MB / 1.498 GB, free: 3.695 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/1.133, allocations: 37.5 kB / 1.498 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/1.133, allocations: 6.031 kB / 1.498 GB, free: 3.672 MB / 1.17 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.000183/1.134, allocations: 149.9 kB / 1.498 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/1.134, allocations: 23.55 kB / 1.498 GB, free: 3.52 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/1.135, allocations: 364.5 kB / 1.498 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.135, allocations: 2.531 kB / 1.498 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/1.135, allocations: 0 / 1.498 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.135, allocations: 0 / 1.498 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/1.137, allocations: 0.7803 MB / 1.499 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.137, allocations: 1.406 kB / 1.499 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/1.137, allocations: 40.36 kB / 1.499 GB, free: 2.672 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/1.137, allocations: 79.41 kB / 1.499 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/1.137, allocations: 6.125 kB / 1.499 GB, free: 2.625 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/1.14, allocations: 1.747 MB / 1.501 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.14, allocations: 1.156 kB / 1.501 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/1.141, allocations: 456.3 kB / 1.501 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.141, allocations: 124 kB / 1.501 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/1.141, allocations: 6.031 kB / 1.501 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/1.141, allocations: 24.41 kB / 1.501 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/1.141, allocations: 22.95 kB / 1.501 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/1.141, allocations: 4 kB / 1.501 GB, free: 492 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002026/1.142, allocations: 197.9 kB / 1.501 GB, free: 296 kB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.142, allocations: 4 kB / 1.502 GB, free: 292 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004712/1.142, allocations: 79.83 kB / 1.502 GB, free: 212 kB / 1.17 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.001803/1.144, allocations: 1.033 MB / 1.503 GB, free: 15.13 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001096/1.145, allocations: 350.7 kB / 1.503 GB, free: 14.78 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.145, allocations: 8 kB / 1.503 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006462/1.146, allocations: 254.5 kB / 1.503 GB, free: 14.51 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/1.146, allocations: 129.4 kB / 1.503 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/1.152, allocations: 2.818 MB / 1.506 GB, free: 11.44 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/1.152, allocations: 0.7752 MB / 1.507 GB, free: 10.64 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002155/1.152, allocations: 62.25 kB / 1.507 GB, free: 10.58 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/1.152, allocations: 71.42 kB / 1.507 GB, free: 10.51 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/1.152, allocations: 0 / 1.507 GB, free: 10.51 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/1.187, allocations: 8.719 MB / 1.515 GB, free: 2.008 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/13.15, allocations: 22.11 kB / 1.515 GB, free: 1.988 MB / 1.186 GB " [Timeout remaining time 287] (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: 19.230124512978364] Failed to read output from testmodel.py, exit status != 0: 13.304223557992373 13.318612004 12.198823999 Calling exit ...