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.39/1.39, allocations: 249.5 MB / 257 MB, free: 6.855 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.00108/0.00108, allocations: 196 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.3 MB / 0.5671 GB, free: 15.96 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.0007781/0.0007781, allocations: 94.78 kB / 0.6714 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.137e-05, allocations: 11.98 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.113/5.313, allocations: 2.183 GB / 3.068 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/5.313, allocations: 83.95 kB / 3.068 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3313/5.644, allocations: 189.2 MB / 3.253 GB, free: 32.51 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/5.644, allocations: 0 / 3.253 GB, free: 32.51 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.463e-05/5.644, allocations: 12 kB / 3.253 GB, free: 32.5 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.00104/5.645, allocations: 0.6387 MB / 3.253 GB, free: 31.81 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/5.645, allocations: 8.031 kB / 3.253 GB, free: 31.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/5.646, allocations: 79.52 kB / 3.254 GB, free: 31.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/5.646, allocations: 301.9 kB / 3.254 GB, free: 31.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/5.646, allocations: 8 kB / 3.254 GB, free: 31.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/5.646, allocations: 12 kB / 3.254 GB, free: 31.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002591/5.647, allocations: 152.8 kB / 3.254 GB, free: 31.23 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/5.647, allocations: 239.4 kB / 3.254 GB, free: 30.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/5.647, allocations: 0 / 3.254 GB, free: 30.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/5.647, allocations: 4 kB / 3.254 GB, free: 30.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/5.647, allocations: 4 kB / 3.254 GB, free: 30.96 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.001211/5.648, allocations: 1.201 MB / 3.255 GB, free: 29.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/5.648, allocations: 130.6 kB / 3.256 GB, free: 29.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/5.648, allocations: 77.08 kB / 3.256 GB, free: 29.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/5.649, allocations: 299.3 kB / 3.256 GB, free: 29.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/5.649, allocations: 38.5 kB / 3.256 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/5.649, allocations: 0 / 3.256 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001027/5.65, allocations: 290.1 kB / 3.256 GB, free: 28.76 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/5.65, allocations: 55.41 kB / 3.256 GB, free: 28.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/5.65, allocations: 180.5 kB / 3.256 GB, free: 28.51 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/5.65, allocations: 25.7 kB / 3.256 GB, free: 28.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/5.65, allocations: 180 kB / 3.257 GB, free: 28.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/5.65, allocations: 39.36 kB / 3.257 GB, free: 28.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/5.65, allocations: 3.938 kB / 3.257 GB, free: 28.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/5.65, allocations: 330.8 kB / 3.257 GB, free: 27.92 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/5.65, allocations: 59.92 kB / 3.257 GB, free: 27.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.98e-05/5.651, allocations: 114.8 kB / 3.257 GB, free: 27.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/5.651, allocations: 95.92 kB / 3.257 GB, free: 27.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/5.651, allocations: 0 / 3.257 GB, free: 27.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007394/5.651, allocations: 290.1 kB / 3.257 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/5.652, allocations: 9.391 kB / 3.257 GB, free: 27.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/5.652, allocations: 0 / 3.257 GB, free: 27.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/5.652, allocations: 88.89 kB / 3.258 GB, free: 27.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/5.652, allocations: 51.91 kB / 3.258 GB, free: 27.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/5.654, allocations: 1.497 MB / 3.259 GB, free: 25.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/5.654, allocations: 39.88 kB / 3.259 GB, free: 25.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/5.654, allocations: 15.95 kB / 3.259 GB, free: 25.52 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 7.502e-05/5.654, allocations: 101 kB / 3.259 GB, free: 25.41 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007363/5.655, allocations: 270.1 kB / 3.26 GB, free: 25.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/5.655, allocations: 27.67 kB / 3.26 GB, free: 25.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007596/5.656, allocations: 304.2 kB / 3.26 GB, free: 24.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/5.656, allocations: 4 kB / 3.26 GB, free: 24.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/5.656, allocations: 0 / 3.26 GB, free: 24.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/5.656, allocations: 0 / 3.26 GB, free: 24.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/5.657, allocations: 0.6621 MB / 3.26 GB, free: 24.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/5.657, allocations: 3.938 kB / 3.26 GB, free: 24.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/5.657, allocations: 52.05 kB / 3.261 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/5.658, allocations: 88.77 kB / 3.261 GB, free: 23.94 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/5.658, allocations: 3.953 kB / 3.261 GB, free: 23.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/5.659, allocations: 1.508 MB / 3.262 GB, free: 22.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.659, allocations: 4.031 kB / 3.262 GB, free: 22.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/5.66, allocations: 438.7 kB / 3.263 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/5.66, allocations: 112.8 kB / 3.263 GB, free: 21.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/5.66, allocations: 4 kB / 3.263 GB, free: 21.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/5.66, allocations: 35.97 kB / 3.263 GB, free: 21.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/5.66, allocations: 20.06 kB / 3.263 GB, free: 21.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/5.66, allocations: 8 kB / 3.263 GB, free: 21.64 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001006/5.66, allocations: 144.5 kB / 3.263 GB, free: 21.49 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.66, allocations: 3.938 kB / 3.263 GB, free: 21.49 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006566/5.661, allocations: 143.7 kB / 3.263 GB, free: 21.35 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.002357/5.663, allocations: 2.137 MB / 3.265 GB, free: 19.17 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006024/5.664, allocations: 265.6 kB / 3.265 GB, free: 18.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/5.664, allocations: 0 / 3.265 GB, free: 18.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/5.664, allocations: 210 kB / 3.265 GB, free: 18.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/5.665, allocations: 92.22 kB / 3.266 GB, free: 18.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/5.666, allocations: 410.5 kB / 3.266 GB, free: 18.15 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/5.666, allocations: 0.7757 MB / 3.267 GB, free: 17.35 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001916/5.666, allocations: 58.03 kB / 3.267 GB, free: 17.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/5.666, allocations: 75.41 kB / 3.267 GB, free: 17.22 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/5.666, allocations: 0 / 3.267 GB, free: 17.22 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/5.699, allocations: 13.85 MB / 3.28 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/5.699, allocations: 187.6 kB / 3.281 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/7.887, allocations: 0 / 3.281 GB, free: 3.238 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)