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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.213/2.213, allocations: 391.2 MB / 407 MB, free: 10.84 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.001472/0.001472, allocations: 199 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 0.7948 GB, free: 15.86 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.0009708/0.0009708, allocations: 103.8 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 58.02 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2742, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.142/0.4163, allocations: 159.2 MB / 1.374 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.4214, allocations: 3.508 MB / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.4219, allocations: 15.88 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.4225, allocations: 103.3 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.4238, allocations: 426.2 kB / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.4254, allocations: 0.5372 MB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.4264, allocations: 0.8116 MB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.4269, allocations: 192.7 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.4288, allocations: 319.9 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.4292, allocations: 195.2 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.4293, allocations: 16 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4305, allocations: 0.6274 MB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.4307, allocations: 91.64 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.4309, allocations: 127.3 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4319, allocations: 0.5687 MB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4319, allocations: 0 / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.092e-06/0.432, allocations: 4 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.432, allocations: 0 / 1.381 GB, free: 13.89 MB / 0.8855 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.001228/0.4332, allocations: 0.6311 MB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4333, allocations: 11.98 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.4338, allocations: 79.52 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.4342, allocations: 297.3 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4342, allocations: 12.44 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.4343, allocations: 20 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.435, allocations: 320.1 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.435, allocations: 0 / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.435, allocations: 4 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.4351, allocations: 11.94 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.4357, allocations: 260.5 kB / 1.383 GB, free: 12.16 MB / 0.8855 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.001563/0.4373, allocations: 1.248 MB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.4377, allocations: 166.5 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.438, allocations: 132.7 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.4385, allocations: 307.2 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4386, allocations: 30.56 kB / 1.384 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.4386, allocations: 0 / 1.384 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.00212/0.4407, allocations: 0.5845 MB / 1.385 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4408, allocations: 51.41 kB / 1.385 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.441, allocations: 250.7 kB / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.441, allocations: 25.7 kB / 1.385 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.4411, allocations: 168.2 kB / 1.385 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.4412, allocations: 47.3 kB / 1.385 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.4413, allocations: 41.61 kB / 1.385 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4414, allocations: 334.8 kB / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.4417, allocations: 95.91 kB / 1.386 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.442, allocations: 136.1 kB / 1.386 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.4426, allocations: 244.1 kB / 1.386 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4426, allocations: 4 kB / 1.386 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001161/0.4437, allocations: 349.8 kB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4438, allocations: 4.938 kB / 1.387 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4438, allocations: 4 kB / 1.387 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/0.4445, allocations: 84.89 kB / 1.387 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.4448, allocations: 43.97 kB / 1.387 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.4471, allocations: 1.599 MB / 1.388 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.4474, allocations: 47.77 kB / 1.388 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4474, allocations: 7.938 kB / 1.388 GB, free: 5.773 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.4476, allocations: 150.4 kB / 1.388 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.4476, allocations: 27.66 kB / 1.388 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.4488, allocations: 368 kB / 1.389 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4488, allocations: 0 / 1.389 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.4488, allocations: 0 / 1.389 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4488, allocations: 0 / 1.389 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.4504, allocations: 0.7785 MB / 1.39 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4504, allocations: 8.094 kB / 1.39 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.4506, allocations: 35.91 kB / 1.39 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.4511, allocations: 88.77 kB / 1.39 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4511, allocations: 4 kB / 1.39 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.4528, allocations: 1.617 MB / 1.391 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4528, allocations: 8.016 kB / 1.391 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.4544, allocations: 1.152 MB / 1.392 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4545, allocations: 120.7 kB / 1.393 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.4546, allocations: 8 kB / 1.393 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.4548, allocations: 23.97 kB / 1.393 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.4549, allocations: 20.05 kB / 1.393 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4549, allocations: 11.94 kB / 1.393 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001472/0.4551, allocations: 190 kB / 1.393 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4551, allocations: 0 / 1.393 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004864/0.4556, allocations: 75.84 kB / 1.393 GB, free: 0.7969 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000345/0.4559, allocations: 173.2 kB / 1.393 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009249/0.4569, allocations: 354.6 kB / 1.393 GB, free: 272 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4569, allocations: 0 / 1.393 GB, free: 272 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.4574, allocations: 254.7 kB / 1.394 GB, free: 4 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.4582, allocations: 124.2 kB / 1.394 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.4592, allocations: 0.743 MB / 1.394 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4594, allocations: 0.7791 MB / 1.395 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002/0.4597, allocations: 58.31 kB / 1.395 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.4597, allocations: 23.44 kB / 1.395 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.4597, allocations: 0 / 1.395 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of Templates: time 0.00999/0.4697, allocations: 5.682 MB / 1.401 GB, free: 8.609 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)