Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001251/0.001251, allocations: 104.6 kB / 16.45 MB, free: 6.453 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.0013/0.0013, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.345/1.345, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.00239, allocations: 288.4 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.16/1.16, allocations: 180.9 MB / 0.5333 GB, free: 13.89 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002853/0.002853, allocations: 102 kB / 0.7343 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1808, allocations: 95.34 MB / 0.8274 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6147/0.7955, allocations: 164.9 MB / 0.9884 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.7995, allocations: 3.507 MB / 0.9918 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.7999, allocations: 16.78 kB / 0.9918 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.8003, allocations: 139 kB / 0.992 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.8014, allocations: 472.8 kB / 0.9924 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.8029, allocations: 0.6049 MB / 0.993 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00061/0.8035, allocations: 0.6296 MB / 0.9936 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.8038, allocations: 201.8 kB / 0.9938 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.805, allocations: 344.5 kB / 0.9941 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.8053, allocations: 214.3 kB / 0.9944 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.8053, allocations: 22.38 kB / 0.9944 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009775/0.8063, allocations: 0.5882 MB / 0.9949 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.8064, allocations: 94.11 kB / 0.995 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.8066, allocations: 146 kB / 0.9952 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008674/0.8075, allocations: 0.5616 MB / 0.9957 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8075, allocations: 0 / 0.9957 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8075, allocations: 1.938 kB / 0.9957 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.8075, allocations: 0 / 0.9957 GB, free: 3.531 MB / 0.7169 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.001231/0.8087, allocations: 0.6432 MB / 0.9964 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8087, allocations: 10.62 kB / 0.9964 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.8088, allocations: 54.62 kB / 0.9964 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/0.8093, allocations: 85.81 kB / 0.9965 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.8097, allocations: 309.1 kB / 0.9968 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.8098, allocations: 20.41 kB / 0.9968 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.8098, allocations: 16.94 kB / 0.9968 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.8104, allocations: 314.9 kB / 0.9971 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8104, allocations: 1.75 kB / 0.9971 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.8105, allocations: 10.8 kB / 0.9971 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.8105, allocations: 5.469 kB / 0.9971 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.8111, allocations: 253 kB / 0.9974 GB, free: 18.69 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.8127, allocations: 1.25 MB / 0.9986 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.8132, allocations: 167.3 kB / 0.9988 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.8135, allocations: 117.8 kB / 0.9989 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.8141, allocations: 308.2 kB / 0.9992 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.8142, allocations: 32.97 kB / 0.9992 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.8142, allocations: 0 / 0.9992 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002323/0.8165, allocations: 0.5732 MB / 0.9998 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.8165, allocations: 53.38 kB / 0.9998 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.8168, allocations: 264.8 kB / 1 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.8168, allocations: 31.23 kB / 1 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.817, allocations: 169.2 kB / 1 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.817, allocations: 47.56 kB / 1 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.8171, allocations: 38.75 kB / 1 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8172, allocations: 334 kB / 1.001 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.8175, allocations: 98.05 kB / 1.001 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.8179, allocations: 137.7 kB / 1.001 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.8185, allocations: 234.2 kB / 1.001 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8185, allocations: 0.5 kB / 1.001 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001227/0.8197, allocations: 357.3 kB / 1.001 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.8198, allocations: 6.062 kB / 1.001 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8198, allocations: 1.938 kB / 1.001 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.8204, allocations: 89.14 kB / 1.002 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.8206, allocations: 44.41 kB / 1.002 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.8229, allocations: 1.727 MB / 1.003 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.8231, allocations: 31.61 kB / 1.003 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.8231, allocations: 9.094 kB / 1.003 GB, free: 15.11 MB / 0.7325 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.0001704/0.8233, allocations: 144.9 kB / 1.003 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.8234, allocations: 27.81 kB / 1.003 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.8245, allocations: 368.1 kB / 1.004 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.8245, allocations: 4.156 kB / 1.004 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.8245, allocations: 5.562 kB / 1.004 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8245, allocations: 0.75 kB / 1.004 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.8261, allocations: 0.7764 MB / 1.005 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8261, allocations: 2.156 kB / 1.005 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.8263, allocations: 40.77 kB / 1.005 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.8267, allocations: 76.03 kB / 1.005 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.8267, allocations: 6.688 kB / 1.005 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.8286, allocations: 1.745 MB / 1.006 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8286, allocations: 1.062 kB / 1.006 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.8296, allocations: 461.3 kB / 1.007 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.8298, allocations: 121.8 kB / 1.007 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.8298, allocations: 9.844 kB / 1.007 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.83, allocations: 21.23 kB / 1.007 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.8301, allocations: 29.17 kB / 1.007 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.8301, allocations: 8.453 kB / 1.007 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001662/0.8303, allocations: 185.5 kB / 1.007 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8303, allocations: 0 / 1.007 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004509/0.8308, allocations: 81.83 kB / 1.007 GB, free: 12.8 MB / 0.7325 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.001559/0.8323, allocations: 1.032 MB / 1.008 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009415/0.8333, allocations: 353.5 kB / 1.009 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8333, allocations: 4.938 kB / 1.009 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.8338, allocations: 254.9 kB / 1.009 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.8345, allocations: 124.2 kB / 1.009 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.839, allocations: 2.817 MB / 1.012 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.8395, allocations: 0.7711 MB / 1.013 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.8397, allocations: 62.75 kB / 1.013 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.8398, allocations: 75.25 kB / 1.013 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.8398, allocations: 0.9688 kB / 1.013 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.8787, allocations: 8.708 MB / 1.021 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.38, allocations: 3.156 kB / 1.021 GB, free: 8.988 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.375205144286156] Failed to read output from testmodel.py, exit status != 0: 12.46873257867992 12.478555094 11.668865024 Calling exit ...