Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.67 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3398, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1855/0.5253, allocations: 161.5 MB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005145/0.5305, allocations: 3.48 MB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.5309, allocations: 19.88 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.5315, allocations: 135 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.5329, allocations: 453.9 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.5345, allocations: 0.6029 MB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000653/0.5352, allocations: 0.6205 MB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.5356, allocations: 216.7 kB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5368, allocations: 333.9 kB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.5371, allocations: 207.1 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.5371, allocations: 24 kB / 1.232 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5381, allocations: 0.5417 MB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.5383, allocations: 99.66 kB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.5384, allocations: 143.3 kB / 1.233 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007445/0.5392, allocations: 0.5454 MB / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5392, allocations: 0 / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5392, allocations: 0 / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.5392, allocations: 0 / 1.233 GB, free: 0.8828 MB / 0.9825 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.001011/0.5402, allocations: 0.6311 MB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5403, allocations: 8.031 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.5408, allocations: 79.48 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.5412, allocations: 297.2 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.5412, allocations: 20.44 kB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.5412, allocations: 20 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.5419, allocations: 308.2 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5419, allocations: 3.938 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.5419, allocations: 8 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.5419, allocations: 19.88 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.5426, allocations: 244.9 kB / 1.235 GB, free: 15.15 MB / 0.9981 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.001556/0.5441, allocations: 1.248 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.5446, allocations: 170.5 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.5449, allocations: 120.8 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.5455, allocations: 307.2 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5455, allocations: 38.56 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.5455, allocations: 0 / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.002166/0.5477, allocations: 0.5731 MB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.5478, allocations: 55.41 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.548, allocations: 255 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.548, allocations: 29.7 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5482, allocations: 172 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.5482, allocations: 51.3 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.5483, allocations: 33.7 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5484, allocations: 330.8 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.5487, allocations: 103.8 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.549, allocations: 133.9 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.5496, allocations: 240.1 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5497, allocations: 4 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001114/0.5508, allocations: 353.5 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5508, allocations: 8 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5508, allocations: 4 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.5514, allocations: 84.89 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.5517, allocations: 51.89 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.5539, allocations: 1.73 MB / 1.241 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.5541, allocations: 27.83 kB / 1.241 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.5541, allocations: 11.98 kB / 1.241 GB, free: 8.629 MB / 0.9981 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.0001541/0.5543, allocations: 149.7 kB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.5543, allocations: 23.72 kB / 1.241 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.5555, allocations: 360 kB / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.5555, allocations: 0 / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5555, allocations: 4 kB / 1.241 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5555, allocations: 11.86 kB / 1.241 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.5571, allocations: 0.7708 MB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5571, allocations: 7.984 kB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5573, allocations: 31.97 kB / 1.242 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.5578, allocations: 80.84 kB / 1.242 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.5578, allocations: 11.88 kB / 1.242 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.5597, allocations: 1.747 MB / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5598, allocations: 0 / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.5609, allocations: 458.4 kB / 1.244 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.561, allocations: 124.7 kB / 1.244 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.561, allocations: 4 kB / 1.244 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.5613, allocations: 27.91 kB / 1.244 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.5614, allocations: 15.98 kB / 1.244 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5614, allocations: 4 kB / 1.244 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001685/0.5616, allocations: 193.9 kB / 1.245 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5616, allocations: 4 kB / 1.245 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004317/0.562, allocations: 75.91 kB / 1.245 GB, free: 4.27 MB / 0.9981 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.0004338/0.5625, allocations: 170.9 kB / 1.245 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.5635, allocations: 366.7 kB / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5635, allocations: 0 / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.5642, allocations: 258.6 kB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.5649, allocations: 126.5 kB / 1.245 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.5659, allocations: 0.5117 MB / 1.246 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.5662, allocations: 0.7752 MB / 1.247 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.5665, allocations: 54.27 kB / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.5665, allocations: 23.44 kB / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.5665, allocations: 0 / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.5931/1.16, allocations: 5.928 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)