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.001781/0.001781, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 194.1 kB / 16.14 MB, free: 6.695 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.12 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3455, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1763/0.5219, allocations: 159.3 MB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004837/0.5267, allocations: 3.507 MB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.5271, allocations: 7.938 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.5277, allocations: 111.3 kB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.5289, allocations: 422.2 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.5305, allocations: 0.5334 MB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.5313, allocations: 0.8194 MB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.5317, allocations: 192.7 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.5333, allocations: 320.1 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.5336, allocations: 191.2 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.5336, allocations: 12 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.5348, allocations: 0.6312 MB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.535, allocations: 91.7 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.5351, allocations: 139.2 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.536, allocations: 0.5726 MB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.536, allocations: 0 / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.01e-07/0.536, allocations: 4 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.536, allocations: 0 / 1.23 GB, free: 3.547 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.001167/0.5372, allocations: 0.6349 MB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5373, allocations: 12.03 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/0.5378, allocations: 79.52 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.5382, allocations: 289.3 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5382, allocations: 12.44 kB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.5383, allocations: 20 kB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.539, allocations: 316.1 kB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.539, allocations: 0 / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.539, allocations: 12 kB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.5391, allocations: 7.938 kB / 1.232 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.5397, allocations: 248.9 kB / 1.232 GB, free: 1.824 MB / 0.9825 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.001666/0.5414, allocations: 1.248 MB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.5419, allocations: 170.5 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.5422, allocations: 128.8 kB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/0.5429, allocations: 303.2 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5429, allocations: 30.56 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.5429, allocations: 0 / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.002435/0.5454, allocations: 0.5809 MB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5454, allocations: 55.41 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.5457, allocations: 251 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.5457, allocations: 29.7 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5459, allocations: 172.1 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.5459, allocations: 43.3 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.546, allocations: 45.7 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5462, allocations: 330.8 kB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.5465, allocations: 95.92 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.5468, allocations: 141.9 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.5474, allocations: 243.7 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5475, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001216/0.5487, allocations: 357.8 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5487, allocations: 7.938 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5487, allocations: 4 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/0.5494, allocations: 84.89 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.5497, allocations: 43.95 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.552, allocations: 1.605 MB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.5523, allocations: 35.88 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.5523, allocations: 11.94 kB / 1.238 GB, free: 11.42 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.0001713/0.5525, allocations: 145.8 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.5525, allocations: 23.72 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.5538, allocations: 373.7 kB / 1.238 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5538, allocations: 0 / 1.238 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.5538, allocations: 0 / 1.238 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5538, allocations: 8 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.5555, allocations: 0.7746 MB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5555, allocations: 4.094 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.5557, allocations: 39.91 kB / 1.239 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005566/0.5563, allocations: 88.94 kB / 1.239 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.5563, allocations: 8 kB / 1.239 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.5583, allocations: 1.625 MB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5583, allocations: 0 / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.5595, allocations: 454.3 kB / 1.241 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5596, allocations: 124.7 kB / 1.241 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.5597, allocations: 0 / 1.241 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.56, allocations: 31.97 kB / 1.241 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.5601, allocations: 23.91 kB / 1.241 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5601, allocations: 4 kB / 1.241 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001873/0.5603, allocations: 186 kB / 1.242 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5603, allocations: 0 / 1.242 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004773/0.5608, allocations: 83.78 kB / 1.242 GB, free: 7.176 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.0004777/0.5613, allocations: 175.7 kB / 1.242 GB, free: 7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.5624, allocations: 354.6 kB / 1.242 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5624, allocations: 0 / 1.242 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.563, allocations: 258.4 kB / 1.242 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.5638, allocations: 121 kB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5648, allocations: 0.5849 MB / 1.243 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.5653, allocations: 0.7716 MB / 1.244 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002552/0.5655, allocations: 58.25 kB / 1.244 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.5656, allocations: 27.36 kB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.5656, allocations: 0 / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of Templates: time 0.5881/1.154, allocations: 5.508 MB / 1.249 GB, free: 185.4 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)