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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 0.7915 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009514, allocations: 99.88 kB / 0.9317 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.007e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.156/5.4, allocations: 1.87 GB / 3.089 GB, free: 363.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/5.4, allocations: 82.64 kB / 3.089 GB, free: 363.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.351/5.751, allocations: 199.7 MB / 3.284 GB, free: 198.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.202e-06/5.751, allocations: 0 / 3.284 GB, free: 198.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.262e-05/5.751, allocations: 15.98 kB / 3.284 GB, free: 198.3 MB / 1.167 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.00108/5.752, allocations: 0.6317 MB / 3.285 GB, free: 197.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/5.752, allocations: 16.03 kB / 3.285 GB, free: 197.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/5.752, allocations: 58.53 kB / 3.285 GB, free: 197.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/5.753, allocations: 71.53 kB / 3.285 GB, free: 197.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/5.753, allocations: 297.9 kB / 3.285 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/5.753, allocations: 12.44 kB / 3.285 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/5.753, allocations: 24 kB / 3.285 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/5.754, allocations: 268.2 kB / 3.286 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/5.754, allocations: 0 / 3.286 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/5.754, allocations: 12 kB / 3.286 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/5.754, allocations: 4 kB / 3.286 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/5.754, allocations: 169 kB / 3.286 GB, free: 196.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.001257/5.755, allocations: 1.256 MB / 3.287 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/5.756, allocations: 138.5 kB / 3.287 GB, free: 195.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/5.756, allocations: 84.83 kB / 3.287 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/5.756, allocations: 303.2 kB / 3.288 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/5.756, allocations: 34.56 kB / 3.288 GB, free: 194.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/5.756, allocations: 0 / 3.288 GB, free: 194.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0009421/5.757, allocations: 273.8 kB / 3.288 GB, free: 194.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/5.757, allocations: 51.41 kB / 3.288 GB, free: 194.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/5.757, allocations: 227.1 kB / 3.288 GB, free: 194.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/5.757, allocations: 29.7 kB / 3.288 GB, free: 194 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/5.757, allocations: 164.2 kB / 3.288 GB, free: 193.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/5.757, allocations: 55.2 kB / 3.288 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/5.757, allocations: 4 kB / 3.288 GB, free: 193.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/5.758, allocations: 342.8 kB / 3.289 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/5.758, allocations: 55.98 kB / 3.289 GB, free: 193.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/5.758, allocations: 112.2 kB / 3.289 GB, free: 193.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/5.758, allocations: 71.91 kB / 3.289 GB, free: 193.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/5.758, allocations: 0 / 3.289 GB, free: 193.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006941/5.759, allocations: 282 kB / 3.289 GB, free: 192.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/5.759, allocations: 4 kB / 3.289 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/5.759, allocations: 0 / 3.289 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/5.759, allocations: 92.89 kB / 3.289 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/5.759, allocations: 51.91 kB / 3.289 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/5.761, allocations: 1.577 MB / 3.291 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/5.761, allocations: 47.78 kB / 3.291 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/5.761, allocations: 8 kB / 3.291 GB, free: 191 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/5.761, allocations: 109 kB / 3.291 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/5.761, allocations: 27.7 kB / 3.291 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007116/5.762, allocations: 289.6 kB / 3.291 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/5.762, allocations: 0 / 3.291 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/5.762, allocations: 4 kB / 3.291 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/5.762, allocations: 4 kB / 3.291 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/5.763, allocations: 0.6927 MB / 3.292 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/5.763, allocations: 3.984 kB / 3.292 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/5.763, allocations: 43.91 kB / 3.292 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/5.764, allocations: 88.86 kB / 3.292 GB, free: 189.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/5.764, allocations: 4 kB / 3.292 GB, free: 189.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/5.765, allocations: 1.593 MB / 3.294 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/5.765, allocations: 0 / 3.294 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/5.766, allocations: 411.7 kB / 3.294 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/5.766, allocations: 120.7 kB / 3.294 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/5.766, allocations: 11.88 kB / 3.294 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/5.766, allocations: 31.97 kB / 3.294 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/5.767, allocations: 32 kB / 3.294 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/5.767, allocations: 11.98 kB / 3.294 GB, free: 187.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000135/5.767, allocations: 179.1 kB / 3.294 GB, free: 187.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/5.767, allocations: 0 / 3.294 GB, free: 187.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006983/5.767, allocations: 163.8 kB / 3.295 GB, free: 186.9 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00211/5.77, allocations: 1.989 MB / 3.297 GB, free: 184.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005755/5.77, allocations: 278.4 kB / 3.297 GB, free: 184.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/5.77, allocations: 0 / 3.297 GB, free: 184.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/5.771, allocations: 223 kB / 3.297 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/5.771, allocations: 113.2 kB / 3.297 GB, free: 184.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/5.772, allocations: 440.6 kB / 3.298 GB, free: 183.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/5.772, allocations: 0.7718 MB / 3.298 GB, free: 183 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002402/5.772, allocations: 58.02 kB / 3.298 GB, free: 182.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/5.773, allocations: 75.42 kB / 3.298 GB, free: 182.9 MB / 1.167 GB Notification: Performance of SimCode: time 5.41e-07/5.773, allocations: 4 kB / 3.298 GB, free: 182.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/5.813, allocations: 25.16 MB / 3.323 GB, free: 157.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/5.813, allocations: 225 kB / 3.323 GB, free: 157.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/8.372, allocations: 0 / 3.323 GB, free: 157.7 MB / 1.167 GB (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/linux/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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat does not exist to compare? outputFormat=mat