Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 111.3 kB / 16.38 MB, free: 6.484 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.001225/0.001225, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.372/1.372, 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.831/1.831, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.00157/0.00157, allocations: 72.11 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2248, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.3994/0.6242, allocations: 4.178 MB / 0.7889 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1873/0.8115, allocations: 150.4 MB / 0.9357 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.8127, allocations: 15.94 kB / 0.9357 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.8136, allocations: 162.5 kB / 0.9359 GB, free: 15.27 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.002229/0.8158, allocations: 444.9 kB / 0.9363 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.8184, allocations: 0.7615 MB / 0.9371 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.8203, allocations: 1.195 MB / 0.9382 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.8215, allocations: 0.607 MB / 0.9388 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.8222, allocations: 438.3 kB / 0.9392 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.823, allocations: 454 kB / 0.9397 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.8232, allocations: 104 kB / 0.9398 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008744/0.824, allocations: 395.7 kB / 0.9401 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.8243, allocations: 275 kB / 0.9404 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.8248, allocations: 0.4896 MB / 0.9409 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.8268, allocations: 1.43 MB / 0.9423 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.8268, allocations: 0 / 0.9423 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5e-06/0.8268, allocations: 4 kB / 0.9423 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.8268, allocations: 0 / 0.9423 GB, free: 8.703 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00232/0.8292, allocations: 1.31 MB / 0.9436 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8292, allocations: 12.03 kB / 0.9436 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/0.8302, allocations: 183.5 kB / 0.9438 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.8315, allocations: 0.7267 MB / 0.9445 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.8316, allocations: 59.78 kB / 0.9445 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.8317, allocations: 76 kB / 0.9446 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.8333, allocations: 0.8715 MB / 0.9454 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.8333, allocations: 0 / 0.9454 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.8334, allocations: 35.98 kB / 0.9455 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.8334, allocations: 20 kB / 0.9455 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.8352, allocations: 1.089 MB / 0.9466 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.8389, allocations: 2.352 MB / 0.9489 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.8402, allocations: 0.7336 MB / 0.9496 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.8407, allocations: 286.7 kB / 0.9498 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/0.8408, allocations: 32.59 kB / 0.9499 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/0.8416, allocations: 440.7 kB / 0.9503 GB, free: 276 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.696e-06/0.8416, allocations: 0 / 0.9503 GB, free: 276 kB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.003061/0.8446, allocations: 1.12 MB / 0.9514 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8448, allocations: 188.6 kB / 0.9516 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.8455, allocations: 0.586 MB / 0.9521 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.8456, allocations: 45.7 kB / 0.9522 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.8459, allocations: 380.2 kB / 0.9525 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.8461, allocations: 248.4 kB / 0.9528 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.8464, allocations: 154.5 kB / 0.9529 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8465, allocations: 382.8 kB / 0.9533 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.847, allocations: 245.9 kB / 0.9535 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.8476, allocations: 351.1 kB / 0.9539 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8487, allocations: 0.5877 MB / 0.9544 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.8487, allocations: 1.125 kB / 0.9544 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001897/0.8506, allocations: 0.823 MB / 0.9552 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8506, allocations: 4 kB / 0.9552 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.8507, allocations: 0 / 0.9552 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.8513, allocations: 80.86 kB / 0.9553 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.852, allocations: 159.8 kB / 0.9555 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.8543, allocations: 1.629 MB / 0.9571 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.855, allocations: 84.14 kB / 0.9572 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/0.855, allocations: 34.78 kB / 0.9572 GB, free: 8.922 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 (89): * Single equations (assignments): 88 * 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.0004135/0.8555, allocations: 249.7 kB / 0.9574 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.8556, allocations: 79.22 kB / 0.9575 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.8578, allocations: 0.9662 MB / 0.9584 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.8578, allocations: 3.984 kB / 0.9584 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.8579, allocations: 5.375 kB / 0.9584 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.8582, allocations: 251.8 kB / 0.9587 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.8583, allocations: 23.91 kB / 0.9587 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.8588, allocations: 52.81 kB / 0.9588 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.859, allocations: 60.84 kB / 0.9588 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001888/0.8609, allocations: 0.8889 MB / 0.9597 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002052/0.8629, allocations: 1.309 MB / 0.961 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005389/0.8635, allocations: 331.9 kB / 0.9613 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005271/0.864, allocations: 428.3 kB / 0.9617 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of Backend: time 4.21e-07/0.864, allocations: 0 / 0.9617 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.8671, allocations: 1.158 MB / 0.9628 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002894/0.87, allocations: 1.973 MB / 0.9647 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of Templates: time 0.0253/0.8953, allocations: 14.88 MB / 0.9793 GB, free: 2.688 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)