Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 176.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 94.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.679e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2406, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.584, allocations: 2.182 GB / 3.074 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.584, allocations: 88.14 kB / 3.074 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9729/6.557, allocations: 191.7 MB / 3.262 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/6.557, allocations: 0 / 3.262 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.58e-05/6.557, allocations: 10.23 kB / 3.262 GB, free: 258.8 MB / 0.8698 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.00121/6.559, allocations: 0.6403 MB / 3.262 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/6.559, allocations: 9.469 kB / 3.262 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/6.559, allocations: 55.14 kB / 3.262 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/6.559, allocations: 68.94 kB / 3.262 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/6.56, allocations: 298.2 kB / 3.263 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/6.56, allocations: 18.38 kB / 3.263 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/6.56, allocations: 24.38 kB / 3.263 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/6.56, allocations: 265.5 kB / 3.263 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/6.56, allocations: 6.156 kB / 3.263 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/6.56, allocations: 5.969 kB / 3.263 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/6.56, allocations: 7.719 kB / 3.263 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/6.561, allocations: 173.6 kB / 3.263 GB, free: 258.1 MB / 0.8698 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.001331/6.562, allocations: 1.256 MB / 3.264 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/6.562, allocations: 138 kB / 3.264 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/6.562, allocations: 81.62 kB / 3.265 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004469/6.563, allocations: 300.5 kB / 3.265 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/6.563, allocations: 34.53 kB / 3.265 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/6.563, allocations: 0 / 3.265 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0009525/6.564, allocations: 273.3 kB / 3.265 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/6.564, allocations: 51.41 kB / 3.265 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/6.564, allocations: 226.6 kB / 3.265 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/6.564, allocations: 29.48 kB / 3.265 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/6.564, allocations: 163.4 kB / 3.266 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/6.564, allocations: 48.97 kB / 3.266 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/6.564, allocations: 7.219 kB / 3.266 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/6.564, allocations: 334.1 kB / 3.266 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/6.564, allocations: 59.03 kB / 3.266 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/6.564, allocations: 117.8 kB / 3.266 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/6.565, allocations: 70.45 kB / 3.266 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/6.565, allocations: 0 / 3.266 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007275/6.565, allocations: 281.7 kB / 3.266 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/6.565, allocations: 3.906 kB / 3.266 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/6.565, allocations: 0 / 3.266 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/6.566, allocations: 96.05 kB / 3.267 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/6.566, allocations: 57.11 kB / 3.267 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/6.568, allocations: 1.568 MB / 3.268 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/6.568, allocations: 49.91 kB / 3.268 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/6.568, allocations: 3.906 kB / 3.268 GB, free: 254.8 MB / 0.8698 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 8.794e-05/6.568, allocations: 118.5 kB / 3.268 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/6.568, allocations: 23.47 kB / 3.268 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/6.569, allocations: 295.4 kB / 3.269 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/6.569, allocations: 3.875 kB / 3.269 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/6.569, allocations: 0 / 3.269 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/6.569, allocations: 0 / 3.269 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/6.57, allocations: 0.6977 MB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.57, allocations: 0 / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/6.57, allocations: 45.58 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/6.571, allocations: 93.83 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/6.571, allocations: 3.75 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/6.572, allocations: 1.598 MB / 3.271 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/6.572, allocations: 0 / 3.271 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/6.573, allocations: 414.9 kB / 3.271 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/6.573, allocations: 112.7 kB / 3.272 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/6.573, allocations: 7.062 kB / 3.272 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/6.574, allocations: 31.62 kB / 3.272 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/6.574, allocations: 25.83 kB / 3.272 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/6.574, allocations: 11 kB / 3.272 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001339/6.574, allocations: 182.9 kB / 3.272 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.012e-06/6.574, allocations: 0 / 3.272 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007291/6.575, allocations: 159.5 kB / 3.272 GB, free: 252.5 MB / 0.8698 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.002062/6.577, allocations: 1.987 MB / 3.274 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005855/6.577, allocations: 279.4 kB / 3.274 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/6.577, allocations: 7.062 kB / 3.274 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/6.578, allocations: 222.8 kB / 3.274 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/6.578, allocations: 117.8 kB / 3.274 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/6.579, allocations: 444.8 kB / 3.275 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/6.579, allocations: 0.776 MB / 3.276 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000196/6.579, allocations: 52.17 kB / 3.276 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/6.58, allocations: 79.62 kB / 3.276 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/6.58, allocations: 0 / 3.276 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/6.626, allocations: 25.13 MB / 3.3 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/6.626, allocations: 227.3 kB / 3.301 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/9.271, allocations: 0 / 3.301 GB, free: 247.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)