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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 185 kB / 327.3 MB, free: 2.207 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.628/1.628, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0007272/0.0007271, allocations: 95.84 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 12.31 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1454/0.3479, allocations: 146.7 MB / 1.044 GB, free: 12.74 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.3525, allocations: 3.324 MB / 1.047 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.3528, allocations: 7.938 kB / 1.047 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.3532, allocations: 95.28 kB / 1.047 GB, free: 9.309 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000912/0.3541, allocations: 338.3 kB / 1.048 GB, free: 8.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.3553, allocations: 471.1 kB / 1.048 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.356, allocations: 0.6868 MB / 1.049 GB, free: 7.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.3564, allocations: 176.4 kB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.357, allocations: 287 kB / 1.049 GB, free: 7.375 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3572, allocations: 183.2 kB / 1.05 GB, free: 7.195 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.3572, allocations: 12 kB / 1.05 GB, free: 7.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.3579, allocations: 319.3 kB / 1.05 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.358, allocations: 87.75 kB / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.3581, allocations: 69.58 kB / 1.05 GB, free: 6.711 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.3585, allocations: 355.4 kB / 1.05 GB, free: 6.363 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3585, allocations: 7.875 kB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3585, allocations: 0 / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3586, allocations: 4 kB / 1.05 GB, free: 6.352 MB / 0.698 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.001013/0.3596, allocations: 0.5884 MB / 1.051 GB, free: 5.715 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3596, allocations: 12.03 kB / 1.051 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.3601, allocations: 79.52 kB / 1.051 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3605, allocations: 285.5 kB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3605, allocations: 12.44 kB / 1.051 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.3606, allocations: 20 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.3612, allocations: 328.1 kB / 1.052 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3612, allocations: 0 / 1.052 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.3613, allocations: 12 kB / 1.052 GB, free: 4.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3613, allocations: 4 kB / 1.052 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.362, allocations: 280.9 kB / 1.052 GB, free: 4.645 MB / 0.698 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.001603/0.3636, allocations: 1.26 MB / 1.053 GB, free: 3.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.364, allocations: 190.5 kB / 1.053 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.3644, allocations: 145.5 kB / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.365, allocations: 315.2 kB / 1.054 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.365, allocations: 34.56 kB / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.365, allocations: 0 / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002249/0.3673, allocations: 0.6212 MB / 1.054 GB, free: 1.879 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3673, allocations: 59.41 kB / 1.054 GB, free: 1.809 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3676, allocations: 254.6 kB / 1.055 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3676, allocations: 29.7 kB / 1.055 GB, free: 1.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3678, allocations: 164.2 kB / 1.055 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3678, allocations: 55.28 kB / 1.055 GB, free: 1.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.3678, allocations: 0 / 1.055 GB, free: 1.293 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3679, allocations: 334.8 kB / 1.055 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.3682, allocations: 107.9 kB / 1.055 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.3686, allocations: 154.5 kB / 1.056 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.3689, allocations: 131.8 kB / 1.056 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3689, allocations: 0 / 1.056 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00116/0.3701, allocations: 383 kB / 1.056 GB, free: 180 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3701, allocations: 15.97 kB / 1.056 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3701, allocations: 0 / 1.056 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.3707, allocations: 88.77 kB / 1.056 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.371, allocations: 47.95 kB / 1.056 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4096/0.7806, allocations: 1.602 MB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.7809, allocations: 44.7 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.781, allocations: 6.453 kB / 1.058 GB, free: 155.9 MB / 0.698 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 (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 0.0001666/0.7812, allocations: 148.5 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.7812, allocations: 23.31 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.7824, allocations: 403.3 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.7825, allocations: 3.078 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.7825, allocations: 4.734 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7825, allocations: 0.7969 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.7841, allocations: 0.8072 MB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7841, allocations: 0 / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.7843, allocations: 47 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.7848, allocations: 92.31 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.7848, allocations: 6.375 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.7864, allocations: 1.62 MB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7864, allocations: 5.297 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.7876, allocations: 484.3 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.7877, allocations: 120.3 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.7877, allocations: 10.86 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.788, allocations: 33.22 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.7881, allocations: 21.91 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.7881, allocations: 8.641 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001437/0.7882, allocations: 179.7 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7883, allocations: 0 / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004067/0.7887, allocations: 80.03 kB / 1.062 GB, free: 153.7 MB / 0.698 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 (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.0003555/0.789, allocations: 163.9 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009786/0.79, allocations: 392.7 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.79, allocations: 2.969 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.7906, allocations: 273.6 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.7913, allocations: 113.3 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009163/0.7922, allocations: 0.6352 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.7925, allocations: 0.7669 MB / 1.064 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.7925, allocations: 22.47 kB / 1.064 GB, free: 152.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.7925, allocations: 0 / 1.064 GB, free: 152.3 MB / 0.698 GB Notification: Performance of Templates: time 0.00961/0.8022, allocations: 5.38 MB / 1.069 GB, free: 151.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)