Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001265, allocations: 172.9 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008303/0.0008305, allocations: 90.86 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.233e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7294, allocations: 115.3 MB / 0.9644 GB, free: 79.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.056/5.786, allocations: 2.064 GB / 3.028 GB, free: 97.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/5.786, allocations: 83.95 kB / 3.028 GB, free: 97.69 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9086/6.695, allocations: 195.2 MB / 3.219 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/6.695, allocations: 0 / 3.219 GB, free: 289.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.624e-05/6.695, allocations: 6.844 kB / 3.219 GB, free: 289.2 MB / 0.948 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.00134/6.696, allocations: 0.6399 MB / 3.219 GB, free: 288.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/6.696, allocations: 11.88 kB / 3.219 GB, free: 288.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006573/6.697, allocations: 70.59 kB / 3.219 GB, free: 288.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/6.697, allocations: 297.9 kB / 3.22 GB, free: 288.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/6.697, allocations: 8.797 kB / 3.22 GB, free: 288.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/6.697, allocations: 11.62 kB / 3.22 GB, free: 288.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003373/6.698, allocations: 150.8 kB / 3.22 GB, free: 288.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/6.698, allocations: 238.7 kB / 3.22 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/6.698, allocations: 4 kB / 3.22 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/6.698, allocations: 3.953 kB / 3.22 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/6.698, allocations: 7.688 kB / 3.22 GB, free: 288.1 MB / 0.948 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.001427/6.7, allocations: 1.208 MB / 3.221 GB, free: 287 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/6.7, allocations: 129.1 kB / 3.221 GB, free: 286.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/6.7, allocations: 79.52 kB / 3.221 GB, free: 286.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/6.7, allocations: 298.2 kB / 3.222 GB, free: 286.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/6.7, allocations: 34.5 kB / 3.222 GB, free: 286.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/6.7, allocations: 0 / 3.222 GB, free: 286.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001069/6.702, allocations: 284.4 kB / 3.222 GB, free: 286.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/6.702, allocations: 55.62 kB / 3.222 GB, free: 286.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/6.702, allocations: 184 kB / 3.222 GB, free: 286.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/6.702, allocations: 29.64 kB / 3.222 GB, free: 286.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/6.702, allocations: 172 kB / 3.223 GB, free: 286 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/6.702, allocations: 47.3 kB / 3.223 GB, free: 285.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/6.702, allocations: 0 / 3.223 GB, free: 285.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/6.702, allocations: 334.8 kB / 3.223 GB, free: 285.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/6.702, allocations: 59.92 kB / 3.223 GB, free: 285.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/6.702, allocations: 114.8 kB / 3.223 GB, free: 285.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/6.702, allocations: 99.92 kB / 3.223 GB, free: 285.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/6.702, allocations: 0 / 3.223 GB, free: 285.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007742/6.703, allocations: 291 kB / 3.223 GB, free: 285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/6.703, allocations: 5.094 kB / 3.223 GB, free: 285 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/6.703, allocations: 0 / 3.223 GB, free: 285 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/6.704, allocations: 84.89 kB / 3.223 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/6.704, allocations: 63.84 kB / 3.224 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/6.706, allocations: 1.493 MB / 3.225 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/6.706, allocations: 31.95 kB / 3.225 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/6.706, allocations: 11.98 kB / 3.225 GB, free: 283.2 MB / 0.948 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.167e-05/6.706, allocations: 108.9 kB / 3.225 GB, free: 283.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007486/6.707, allocations: 276.2 kB / 3.225 GB, free: 282.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/6.707, allocations: 23.8 kB / 3.225 GB, free: 282.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007751/6.708, allocations: 297 kB / 3.226 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/6.708, allocations: 4 kB / 3.226 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/6.708, allocations: 0 / 3.226 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/6.708, allocations: 3.984 kB / 3.226 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/6.709, allocations: 0.6658 MB / 3.226 GB, free: 281.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/6.709, allocations: 8.047 kB / 3.226 GB, free: 281.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/6.709, allocations: 43.91 kB / 3.226 GB, free: 281.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/6.709, allocations: 92.77 kB / 3.227 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/6.709, allocations: 0 / 3.227 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/6.711, allocations: 1.531 MB / 3.228 GB, free: 279.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/6.711, allocations: 0 / 3.228 GB, free: 279.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/6.712, allocations: 425.8 kB / 3.228 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/6.712, allocations: 112.8 kB / 3.229 GB, free: 279.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/6.712, allocations: 7.953 kB / 3.229 GB, free: 279.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/6.712, allocations: 31.97 kB / 3.229 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/6.712, allocations: 15.98 kB / 3.229 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/6.712, allocations: 11.98 kB / 3.229 GB, free: 279.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000101/6.712, allocations: 148.5 kB / 3.229 GB, free: 279.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.31e-07/6.712, allocations: 0 / 3.229 GB, free: 279.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006267/6.713, allocations: 139.8 kB / 3.229 GB, free: 279 MB / 0.948 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.0025/6.715, allocations: 2.131 MB / 3.231 GB, free: 277 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005712/6.716, allocations: 269.8 kB / 3.231 GB, free: 276.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/6.716, allocations: 4 kB / 3.231 GB, free: 276.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/6.716, allocations: 205.6 kB / 3.231 GB, free: 276.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/6.717, allocations: 98.92 kB / 3.232 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/6.718, allocations: 419.4 kB / 3.232 GB, free: 275.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/6.718, allocations: 0.7718 MB / 3.233 GB, free: 275.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002206/6.718, allocations: 54.05 kB / 3.233 GB, free: 275.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/6.718, allocations: 79.56 kB / 3.233 GB, free: 275 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/6.718, allocations: 0 / 3.233 GB, free: 275 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/6.755, allocations: 13.86 MB / 3.246 GB, free: 261.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/6.755, allocations: 176.3 kB / 3.246 GB, free: 261 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/8.906, allocations: 0 / 3.246 GB, free: 261 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)