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.009664/0.009663, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.001904/0.001904, allocations: 196.4 kB / 16.68 MB, free: 5.977 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.621/1.621, allocations: 205.1 MB / 222.6 MB, free: 4.32 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.523/1.523, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001441/0.001441, allocations: 63.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003266/0.2805, allocations: 1.861 MB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2827, allocations: 1.496 MB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.2828, allocations: 0 / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.283, allocations: 27.78 kB / 0.8314 GB, free: 12.79 MB / 0.6544 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.0003048/0.2834, allocations: 71.61 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.2838, allocations: 147.2 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.2841, allocations: 277.4 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2843, allocations: 44.95 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2844, allocations: 99.75 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2846, allocations: 99.7 kB / 0.8321 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.2847, allocations: 20 kB / 0.8321 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2848, allocations: 71.97 kB / 0.8321 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2849, allocations: 79.81 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2851, allocations: 127.2 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.2855, allocations: 318.9 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2855, allocations: 0 / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2855, allocations: 0 / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2855, allocations: 0 / 0.8326 GB, free: 11.45 MB / 0.6544 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.0008059/0.2863, allocations: 0.5539 MB / 0.8332 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2864, allocations: 8.031 kB / 0.8332 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2865, allocations: 32.56 kB / 0.8332 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.2868, allocations: 270.8 kB / 0.8335 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2869, allocations: 12.38 kB / 0.8335 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.2869, allocations: 24.12 kB / 0.8335 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.2873, allocations: 236.5 kB / 0.8337 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2873, allocations: 4 kB / 0.8338 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2873, allocations: 4 kB / 0.8338 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2873, allocations: 4 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.2882, allocations: 0.7451 MB / 0.8345 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.2892, allocations: 0.6292 MB / 0.8351 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.2898, allocations: 305.9 kB / 0.8354 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.29, allocations: 109.4 kB / 0.8355 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.2901, allocations: 24.19 kB / 0.8355 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.2906, allocations: 187.4 kB / 0.8357 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.2906, allocations: 0 / 0.8357 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.0009719/0.2916, allocations: 373.5 kB / 0.8361 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.2917, allocations: 136.5 kB / 0.8362 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.292, allocations: 308.9 kB / 0.8365 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.292, allocations: 37.7 kB / 0.8365 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.2921, allocations: 132.7 kB / 0.8366 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.2922, allocations: 118.3 kB / 0.8368 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.2923, allocations: 65.69 kB / 0.8368 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2924, allocations: 334.8 kB / 0.8371 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2926, allocations: 83.81 kB / 0.8372 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2928, allocations: 131.3 kB / 0.8373 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.2931, allocations: 218.3 kB / 0.8376 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2931, allocations: 4 kB / 0.8376 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004012/0.2935, allocations: 277.1 kB / 0.8378 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2935, allocations: 4 kB / 0.8378 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2935, allocations: 0 / 0.8378 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2936, allocations: 7.938 kB / 0.8378 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2938, allocations: 63.91 kB / 0.8379 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2938, allocations: 0 / 0.8379 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.294, allocations: 23.83 kB / 0.8379 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.294, allocations: 15.98 kB / 0.8379 GB, free: 5.781 MB / 0.6544 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.0001491/0.2942, allocations: 162.8 kB / 0.8381 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.2942, allocations: 31.72 kB / 0.8381 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/0.2943, allocations: 38.95 kB / 0.8382 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2943, allocations: 7.938 kB / 0.8382 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2943, allocations: 0 / 0.8382 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2943, allocations: 0 / 0.8382 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.2947, allocations: 345.2 kB / 0.8385 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2947, allocations: 4 kB / 0.8385 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.2948, allocations: 63.91 kB / 0.8386 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2949, allocations: 48 / 0.8386 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.2949, allocations: 11.98 kB / 0.8386 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2949, allocations: 7.938 kB / 0.8386 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2949, allocations: 0 / 0.8386 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.2954, allocations: 332.5 kB / 0.8389 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.2955, allocations: 144.7 kB / 0.839 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.2956, allocations: 4 kB / 0.839 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.2957, allocations: 31.91 kB / 0.8391 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.2958, allocations: 27.91 kB / 0.8391 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.2958, allocations: 19.98 kB / 0.8391 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000217/0.2961, allocations: 236.4 kB / 0.8393 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2961, allocations: 0 / 0.8393 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003416/0.2964, allocations: 67.84 kB / 0.8394 GB, free: 4.168 MB / 0.6544 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.0009748/0.2974, allocations: 396 kB / 0.8398 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.2979, allocations: 235.7 kB / 0.84 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2979, allocations: 0 / 0.84 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.2981, allocations: 131.8 kB / 0.8401 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2984, allocations: 40.41 kB / 0.8402 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.2993, allocations: 0.519 MB / 0.8407 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.2996, allocations: 0.7614 MB / 0.8414 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003359/0.3, allocations: 150.8 kB / 0.8416 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.3001, allocations: 47.36 kB / 0.8416 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.3001, allocations: 0 / 0.8416 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of Templates: time 0.007342/0.3074, allocations: 3.443 MB / 0.845 GB, free: 14.61 MB / 0.67 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)