Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 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.001696/0.001696, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 251.7 MB / 0.5092 GB, free: 3.238 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75.89 kB / 0.6223 GB, free: 1.523 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5664, allocations: 104.7 MB / 0.7245 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003644/0.5701, allocations: 1.86 MB / 0.7263 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.573, allocations: 1.499 MB / 0.7278 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.5731, allocations: 4 kB / 0.7278 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.5735, allocations: 27.78 kB / 0.7278 GB, free: 9.695 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.5739, allocations: 79.55 kB / 0.7279 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.5743, allocations: 145.5 kB / 0.728 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.5747, allocations: 269.4 kB / 0.7283 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.5749, allocations: 47.09 kB / 0.7283 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.5751, allocations: 91.77 kB / 0.7284 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.5754, allocations: 107.7 kB / 0.7285 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.5754, allocations: 20 kB / 0.7286 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.5756, allocations: 71.92 kB / 0.7286 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.5757, allocations: 83.8 kB / 0.7287 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.5759, allocations: 119.3 kB / 0.7288 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.5763, allocations: 303 kB / 0.7291 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.5763, allocations: 4 kB / 0.7291 GB, free: 8.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5763, allocations: 0 / 0.7291 GB, free: 8.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5763, allocations: 0 / 0.7291 GB, free: 8.383 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001026/0.5773, allocations: 0.5493 MB / 0.7296 GB, free: 7.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.5774, allocations: 12.03 kB / 0.7297 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.5776, allocations: 36.56 kB / 0.7297 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.578, allocations: 262.8 kB / 0.7299 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.5781, allocations: 20.31 kB / 0.73 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.5781, allocations: 24.11 kB / 0.73 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.5786, allocations: 232.5 kB / 0.7302 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5786, allocations: 0 / 0.7302 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.5786, allocations: 8 kB / 0.7302 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5786, allocations: 4 kB / 0.7302 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.5796, allocations: 0.7451 MB / 0.7309 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.5808, allocations: 0.6406 MB / 0.7316 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.5815, allocations: 301.9 kB / 0.7319 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.5817, allocations: 113.4 kB / 0.732 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/0.5817, allocations: 20.25 kB / 0.732 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.5822, allocations: 179.4 kB / 0.7322 GB, free: 5.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.5822, allocations: 0 / 0.7322 GB, free: 5.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0006787/0.5829, allocations: 385.3 kB / 0.7325 GB, free: 4.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.583, allocations: 132.5 kB / 0.7327 GB, free: 4.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.5833, allocations: 309 kB / 0.7329 GB, free: 4.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.5834, allocations: 33.7 kB / 0.733 GB, free: 4.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5835, allocations: 132.7 kB / 0.7331 GB, free: 4.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.5836, allocations: 118.2 kB / 0.7332 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.5837, allocations: 73.62 kB / 0.7333 GB, free: 3.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5839, allocations: 338.8 kB / 0.7336 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.584, allocations: 79.95 kB / 0.7337 GB, free: 3.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5842, allocations: 127.4 kB / 0.7338 GB, free: 3.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.5846, allocations: 210.3 kB / 0.734 GB, free: 3.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5846, allocations: 4 kB / 0.734 GB, free: 3.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005199/0.5851, allocations: 285 kB / 0.7343 GB, free: 2.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5852, allocations: 8 kB / 0.7343 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5852, allocations: 0 / 0.7343 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.5852, allocations: 7.938 kB / 0.7343 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.5855, allocations: 63.91 kB / 0.7344 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5855, allocations: 0 / 0.7344 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.5856, allocations: 23.83 kB / 0.7344 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.5857, allocations: 12 kB / 0.7344 GB, free: 2.695 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.5859, allocations: 169.7 kB / 0.7346 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.5859, allocations: 35.62 kB / 0.7346 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.406e-05/0.586, allocations: 30.97 kB / 0.7346 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.586, allocations: 11.97 kB / 0.7346 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.586, allocations: 0 / 0.7346 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.5861, allocations: 3.984 kB / 0.7346 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.5864, allocations: 341.2 kB / 0.735 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5864, allocations: 0 / 0.735 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5866, allocations: 63.91 kB / 0.735 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5866, allocations: 0 / 0.735 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.5867, allocations: 15.98 kB / 0.735 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5867, allocations: 7.938 kB / 0.735 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5867, allocations: 0 / 0.735 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.5872, allocations: 324.6 kB / 0.7354 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.5874, allocations: 148.6 kB / 0.7355 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.5874, allocations: 4 kB / 0.7355 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.5876, allocations: 27.91 kB / 0.7355 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.5877, allocations: 27.97 kB / 0.7356 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5877, allocations: 20 kB / 0.7356 GB, free: 1.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002173/0.588, allocations: 236.4 kB / 0.7358 GB, free: 1.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.588, allocations: 3.938 kB / 0.7358 GB, free: 1.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003082/0.5883, allocations: 63.92 kB / 0.7359 GB, free: 1.094 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009952/0.5893, allocations: 397.1 kB / 0.7362 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.5898, allocations: 299.6 kB / 0.7365 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5899, allocations: 0 / 0.7365 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.5901, allocations: 139.7 kB / 0.7367 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.5904, allocations: 39.05 kB / 0.7367 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.5914, allocations: 0.5339 MB / 0.7372 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.5918, allocations: 0.7653 MB / 0.738 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003117/0.5921, allocations: 146.8 kB / 0.7381 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.5922, allocations: 43.42 kB / 0.7381 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5922, allocations: 0 / 0.7381 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.007427/0.5996, allocations: 3.382 MB / 0.7415 GB, free: 11.52 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)