Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.7 kB / 16.38 MB, free: 6.02 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.001108/0.001108, allocations: 186.1 kB / 17.31 MB, free: 5.617 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.953/1.953, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.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.001743/0.001743, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2206, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.3692/0.5898, allocations: 4.206 MB / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.7596, allocations: 150.3 MB / 0.9357 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.7607, allocations: 19.88 kB / 0.9357 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.7614, allocations: 166.4 kB / 0.9359 GB, free: 15.34 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/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.001754/0.7632, allocations: 437.1 kB / 0.9363 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.7654, allocations: 0.8038 MB / 0.9371 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.7671, allocations: 1.211 MB / 0.9383 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009363/0.7681, allocations: 0.6128 MB / 0.9389 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.7688, allocations: 450.3 kB / 0.9393 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.7694, allocations: 458 kB / 0.9397 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.7695, allocations: 104 kB / 0.9398 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009197/0.7704, allocations: 415.7 kB / 0.9402 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.7707, allocations: 279.1 kB / 0.9405 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.7712, allocations: 0.5012 MB / 0.941 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.7729, allocations: 1.468 MB / 0.9424 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7729, allocations: 4 kB / 0.9424 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7729, allocations: 4 kB / 0.9424 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.7729, allocations: 0 / 0.9424 GB, free: 8.629 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002417/0.7753, allocations: 1.329 MB / 0.9437 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7754, allocations: 8.031 kB / 0.9437 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.7764, allocations: 183.4 kB / 0.9439 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.7776, allocations: 0.7306 MB / 0.9446 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.7777, allocations: 58 kB / 0.9447 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.7778, allocations: 81.5 kB / 0.9447 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.7792, allocations: 0.8715 MB / 0.9456 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.7793, allocations: 0 / 0.9456 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.7793, allocations: 39.98 kB / 0.9456 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.7794, allocations: 23.98 kB / 0.9457 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.7811, allocations: 1.077 MB / 0.9467 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.785, allocations: 2.382 MB / 0.949 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.7869, allocations: 0.8677 MB / 0.9499 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.7874, allocations: 289.4 kB / 0.9502 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.7875, allocations: 32.61 kB / 0.9502 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007489/0.7883, allocations: 443.3 kB / 0.9506 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/0.7883, allocations: 0 / 0.9506 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.003034/0.7913, allocations: 1.123 MB / 0.9517 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.7914, allocations: 188.6 kB / 0.9519 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.7922, allocations: 0.5874 MB / 0.9525 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.7922, allocations: 41.7 kB / 0.9525 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.7925, allocations: 368.4 kB / 0.9528 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.7927, allocations: 256.3 kB / 0.9531 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.7929, allocations: 150.5 kB / 0.9532 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7931, allocations: 386.8 kB / 0.9536 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.7936, allocations: 245.9 kB / 0.9538 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.7942, allocations: 341 kB / 0.9542 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.7953, allocations: 0.5799 MB / 0.9547 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7953, allocations: 0 / 0.9547 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001805/0.7971, allocations: 0.8058 MB / 0.9555 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.7972, allocations: 8.781 kB / 0.9555 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7972, allocations: 0 / 0.9555 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.7978, allocations: 88.8 kB / 0.9556 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.7984, allocations: 151.8 kB / 0.9558 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.8004, allocations: 1.632 MB / 0.9574 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/0.801, allocations: 83.36 kB / 0.9574 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.8011, allocations: 41.44 kB / 0.9575 GB, free: 8.672 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003528/0.8015, allocations: 249.7 kB / 0.9577 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.8016, allocations: 75.06 kB / 0.9578 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.8038, allocations: 1.006 MB / 0.9588 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8038, allocations: 3.984 kB / 0.9588 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8038, allocations: 0 / 0.9588 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.8041, allocations: 263.8 kB / 0.959 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.8043, allocations: 18.12 kB / 0.959 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.8048, allocations: 60.88 kB / 0.9591 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8049, allocations: 64.84 kB / 0.9592 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001846/0.8068, allocations: 0.92 MB / 0.9601 GB, free: 5.977 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002081/0.8089, allocations: 1.344 MB / 0.9614 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005507/0.8094, allocations: 343.8 kB / 0.9617 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004884/0.8099, allocations: 436.5 kB / 0.9621 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of Backend: time 6.51e-07/0.8099, allocations: 0 / 0.9621 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.8129, allocations: 1.168 MB / 0.9632 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002823/0.8157, allocations: 1.985 MB / 0.9652 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of Templates: time 0.02463/0.8403, allocations: 15.09 MB / 0.9799 GB, free: 2.059 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)