Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001057/0.001057, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.00929/0.00929, allocations: 173 kB / 16.26 MB, free: 6.613 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.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 11.31 kB / 0.9158 GB, free: 32.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3702, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1709/0.5412, allocations: 157.2 MB / 1.228 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.5462, allocations: 3.458 MB / 1.231 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.5466, allocations: 15.81 kB / 1.231 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.5471, allocations: 99.36 kB / 1.231 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.5483, allocations: 426.2 kB / 1.232 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.5499, allocations: 0.5371 MB / 1.232 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008457/0.5507, allocations: 0.8117 MB / 1.233 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.5511, allocations: 188.6 kB / 1.233 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.5526, allocations: 304.2 kB / 1.233 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.5529, allocations: 195.1 kB / 1.234 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.553, allocations: 12 kB / 1.234 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.554, allocations: 0.6273 MB / 1.234 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.5541, allocations: 87.7 kB / 1.234 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.5543, allocations: 153 kB / 1.234 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.5551, allocations: 0.5686 MB / 1.235 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5551, allocations: 3.938 kB / 1.235 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5551, allocations: 4 kB / 1.235 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5551, allocations: 4 kB / 1.235 GB, free: 2.293 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.001043/0.5562, allocations: 0.5975 MB / 1.236 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5562, allocations: 8.031 kB / 1.236 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.5568, allocations: 79.48 kB / 1.236 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.5571, allocations: 289.4 kB / 1.236 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5572, allocations: 16.44 kB / 1.236 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.5572, allocations: 16 kB / 1.236 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.5579, allocations: 336.1 kB / 1.236 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5579, allocations: 3.938 kB / 1.236 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.5579, allocations: 12 kB / 1.236 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.558, allocations: 7.938 kB / 1.236 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.5587, allocations: 280.9 kB / 1.237 GB, free: 0.5586 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.001662/0.5604, allocations: 1.264 MB / 1.238 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.5609, allocations: 186.5 kB / 1.238 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.5612, allocations: 136.7 kB / 1.238 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.5618, allocations: 323.2 kB / 1.238 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.5619, allocations: 34.56 kB / 1.238 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.5619, allocations: 0 / 1.238 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.002479/0.5644, allocations: 0.6268 MB / 1.239 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.5644, allocations: 55.39 kB / 1.239 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.5647, allocations: 259 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5647, allocations: 25.7 kB / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5649, allocations: 172 kB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.5649, allocations: 51.3 kB / 1.24 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.565, allocations: 17.72 kB / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5651, allocations: 338.8 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.5654, allocations: 111.9 kB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.5658, allocations: 148.2 kB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.5665, allocations: 264.1 kB / 1.24 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5665, allocations: 8 kB / 1.24 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001277/0.5678, allocations: 385.8 kB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5678, allocations: 8 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5678, allocations: 0 / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006553/0.5685, allocations: 96.88 kB / 1.241 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.5688, allocations: 47.91 kB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.571, allocations: 1.612 MB / 1.242 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.5713, allocations: 47.88 kB / 1.243 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.5713, allocations: 7.938 kB / 1.243 GB, free: 9.949 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.0001762/0.5715, allocations: 149.8 kB / 1.243 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.5715, allocations: 27.66 kB / 1.243 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.5728, allocations: 399.9 kB / 1.243 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5729, allocations: 4 kB / 1.243 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.5729, allocations: 0 / 1.243 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5729, allocations: 3.984 kB / 1.243 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.5748, allocations: 0.8059 MB / 1.244 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5748, allocations: 0 / 1.244 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.5751, allocations: 43.95 kB / 1.244 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.5756, allocations: 88.86 kB / 1.244 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.5757, allocations: 12 kB / 1.244 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.5779, allocations: 1.633 MB / 1.246 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5779, allocations: 0 / 1.246 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5793, allocations: 0.4884 MB / 1.246 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.5795, allocations: 128.6 kB / 1.246 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.5795, allocations: 7.984 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.5798, allocations: 31.97 kB / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.5799, allocations: 15.98 kB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.58, allocations: 8 kB / 1.246 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002212/0.5802, allocations: 189.9 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5802, allocations: 0 / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005322/0.5807, allocations: 83.78 kB / 1.247 GB, free: 5.574 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.0005658/0.5813, allocations: 158.4 kB / 1.247 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.5824, allocations: 393.7 kB / 1.247 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5825, allocations: 0 / 1.247 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.5831, allocations: 278.7 kB / 1.247 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.5839, allocations: 115.2 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.585, allocations: 0.609 MB / 1.248 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.5854, allocations: 0.7755 MB / 1.249 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.5856, allocations: 54.33 kB / 1.249 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.5857, allocations: 19.44 kB / 1.249 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.5857, allocations: 0 / 1.249 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of Templates: time 0.561/1.147, allocations: 5.48 MB / 1.254 GB, free: 182.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)