Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 115.2 kB / 16.38 MB, free: 6.023 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.001419/0.001419, allocations: 189.6 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001402/0.001402, allocations: 71.89 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.222, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.363/0.585, allocations: 4.039 MB / 0.7887 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.7503, allocations: 150.2 MB / 0.9354 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.7512, allocations: 19.88 kB / 0.9354 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.7518, allocations: 154.5 kB / 0.9356 GB, free: 15.65 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.001595/0.7534, allocations: 410.5 kB / 0.936 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.7555, allocations: 0.7668 MB / 0.9367 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.7569, allocations: 1.145 MB / 0.9378 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.7578, allocations: 0.5796 MB / 0.9384 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.7583, allocations: 414.5 kB / 0.9388 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.7588, allocations: 422.1 kB / 0.9392 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.759, allocations: 100 kB / 0.9393 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.7598, allocations: 387.7 kB / 0.9397 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.7601, allocations: 259.2 kB / 0.9399 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.7606, allocations: 485.4 kB / 0.9404 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.7622, allocations: 1.387 MB / 0.9417 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7622, allocations: 0 / 0.9417 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7622, allocations: 0 / 0.9417 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.7623, allocations: 0 / 0.9417 GB, free: 9.344 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002039/0.7643, allocations: 1.266 MB / 0.943 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7644, allocations: 12.02 kB / 0.943 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.7653, allocations: 176 kB / 0.9431 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.7663, allocations: 0.715 MB / 0.9438 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.7664, allocations: 59.41 kB / 0.9439 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.703e-05/0.7665, allocations: 72 kB / 0.944 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.7679, allocations: 0.8286 MB / 0.9448 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7679, allocations: 0 / 0.9448 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.768, allocations: 35.94 kB / 0.9448 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.768, allocations: 18.44 kB / 0.9448 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.7696, allocations: 1.042 MB / 0.9458 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.7731, allocations: 2.274 MB / 0.9481 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.7744, allocations: 0.7694 MB / 0.9488 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.7749, allocations: 274.4 kB / 0.9491 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.317e-05/0.775, allocations: 28.58 kB / 0.9491 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007096/0.7757, allocations: 413 kB / 0.9495 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/0.7757, allocations: 0 / 0.9495 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002883/0.7786, allocations: 1.054 MB / 0.9505 GB, free: 60 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.7787, allocations: 188.5 kB / 0.9507 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.7794, allocations: 0.5616 MB / 0.9513 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.7795, allocations: 37.7 kB / 0.9513 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.7798, allocations: 360.3 kB / 0.9516 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.78, allocations: 232.6 kB / 0.9519 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.7802, allocations: 150.4 kB / 0.952 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7804, allocations: 374.8 kB / 0.9524 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.7808, allocations: 233.9 kB / 0.9526 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.7814, allocations: 318.8 kB / 0.9529 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.7824, allocations: 0.5351 MB / 0.9534 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.7825, allocations: 0 / 0.9534 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001851/0.7843, allocations: 0.7471 MB / 0.9541 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.7844, allocations: 8 kB / 0.9541 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7844, allocations: 0 / 0.9541 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.785, allocations: 84.86 kB / 0.9542 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.7856, allocations: 135.8 kB / 0.9544 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.7878, allocations: 1.644 MB / 0.956 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.7884, allocations: 75.39 kB / 0.956 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.7885, allocations: 33.78 kB / 0.9561 GB, free: 10.12 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 (81): * Single equations (assignments): 80 * 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.0004391/0.7889, allocations: 249.7 kB / 0.9563 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.7891, allocations: 75.16 kB / 0.9564 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.7911, allocations: 0.8856 MB / 0.9572 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.7911, allocations: 3.984 kB / 0.9572 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7911, allocations: 4 kB / 0.9572 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.7914, allocations: 243.9 kB / 0.9575 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.7915, allocations: 16 kB / 0.9575 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.7921, allocations: 54.06 kB / 0.9575 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.7922, allocations: 56.92 kB / 0.9576 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001748/0.7939, allocations: 0.8427 MB / 0.9584 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00191/0.7959, allocations: 1.246 MB / 0.9596 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004991/0.7964, allocations: 311.9 kB / 0.9599 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004805/0.7969, allocations: 402.8 kB / 0.9603 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of Backend: time 4.91e-07/0.7969, allocations: 0 / 0.9603 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002857/0.7997, allocations: 1.116 MB / 0.9614 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002812/0.8026, allocations: 1.899 MB / 0.9633 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of Templates: time 0.02376/0.8263, allocations: 14.19 MB / 0.9771 GB, free: 4.965 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)