Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001124/0.001124, allocations: 192.3 kB / 16.14 MB, free: 6.703 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.375/1.375, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.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.674/1.674, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001455/0.001455, allocations: 63.92 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2212, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008106/0.2294, allocations: 4.97 MB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5814/0.8108, allocations: 148.3 MB / 0.9324 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.8121, allocations: 19.34 kB / 0.9324 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.8132, allocations: 147.9 kB / 0.9325 GB, free: 5.152 MB / 0.7325 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.00195/0.8152, allocations: 464.3 kB / 0.933 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.8174, allocations: 0.7531 MB / 0.9337 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.8195, allocations: 1.472 MB / 0.9351 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.8208, allocations: 0.9814 MB / 0.9361 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.8219, allocations: 0.5978 MB / 0.9367 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000832/0.8227, allocations: 0.6822 MB / 0.9373 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.8229, allocations: 100.3 kB / 0.9374 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008499/0.8238, allocations: 371.6 kB / 0.9378 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.8242, allocations: 342.5 kB / 0.9381 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.8249, allocations: 0.7034 MB / 0.9388 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.8271, allocations: 1.977 MB / 0.9407 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8271, allocations: 0.6562 kB / 0.9407 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8271, allocations: 0 / 0.9407 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.317e-05/0.8272, allocations: 0 / 0.9407 GB, free: 4.734 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00345/0.8307, allocations: 1.759 MB / 0.9424 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.8307, allocations: 9.344 kB / 0.9425 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009955/0.8317, allocations: 231.2 kB / 0.9427 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.8328, allocations: 0.888 MB / 0.9435 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.8329, allocations: 103.7 kB / 0.9436 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.8331, allocations: 131.8 kB / 0.9438 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.8352, allocations: 1.387 MB / 0.9451 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.8353, allocations: 3.75 kB / 0.9451 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.8354, allocations: 52.81 kB / 0.9452 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.8354, allocations: 32.34 kB / 0.9452 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.838, allocations: 1.472 MB / 0.9466 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.8439, allocations: 3.579 MB / 0.9501 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.8458, allocations: 0.9626 MB / 0.9511 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.8466, allocations: 397.9 kB / 0.9515 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.8467, allocations: 43.72 kB / 0.9515 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.848, allocations: 0.5835 MB / 0.9521 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 2.975e-06/0.848, allocations: 4 kB / 0.9521 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.003907/0.8519, allocations: 1.473 MB / 0.9535 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.8521, allocations: 201 kB / 0.9537 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.8532, allocations: 0.7417 MB / 0.9544 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.8533, allocations: 45.17 kB / 0.9545 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.8537, allocations: 0.5506 MB / 0.955 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.8539, allocations: 348.5 kB / 0.9553 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.8543, allocations: 215.5 kB / 0.9555 GB, free: 17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.8545, allocations: 405 kB / 0.9559 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.8552, allocations: 360.3 kB / 0.9563 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.856, allocations: 472.7 kB / 0.9567 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.8575, allocations: 0.8285 MB / 0.9575 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8575, allocations: 1.875 kB / 0.9575 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002557/0.8601, allocations: 1.112 MB / 0.9586 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8601, allocations: 4.094 kB / 0.9586 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8601, allocations: 1.969 kB / 0.9586 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.8607, allocations: 81.91 kB / 0.9587 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.8617, allocations: 224.2 kB / 0.9589 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.8638, allocations: 1.533 MB / 0.9604 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/0.8648, allocations: 103.7 kB / 0.9605 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.8649, allocations: 52.03 kB / 0.9606 GB, free: 15.11 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 (125): * Single equations (assignments): 124 * 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.0006046/0.8655, allocations: 324.8 kB / 0.9609 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.8657, allocations: 101.2 kB / 0.961 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.8688, allocations: 1.386 MB / 0.9623 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.8689, allocations: 11.5 kB / 0.9623 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8689, allocations: 0 / 0.9623 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.8689, allocations: 7.375 kB / 0.9623 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.8729, allocations: 2.55 MB / 0.9648 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8729, allocations: 1.406 kB / 0.9648 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008133/0.8738, allocations: 189.5 kB / 0.965 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.8743, allocations: 91.03 kB / 0.9651 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.8744, allocations: 25.41 kB / 0.9651 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.8763, allocations: 1.559 MB / 0.9667 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8763, allocations: 5.109 kB / 0.9667 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.8787, allocations: 1.174 MB / 0.9678 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.8792, allocations: 318.7 kB / 0.9681 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.8794, allocations: 28.44 kB / 0.9681 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.8801, allocations: 59.36 kB / 0.9682 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.8803, allocations: 72.67 kB / 0.9683 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.8804, allocations: 37.62 kB / 0.9683 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007378/0.8811, allocations: 0.5622 MB / 0.9688 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8811, allocations: 0 / 0.9688 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001119/0.8822, allocations: 377.8 kB / 0.9692 GB, free: 12.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.8835, allocations: 0.5743 MB / 0.9698 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.8859, allocations: 1.037 MB / 0.9708 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8859, allocations: 0 / 0.9708 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.887, allocations: 0.6094 MB / 0.9714 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.8884, allocations: 280.9 kB / 0.9716 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.8932, allocations: 2.965 MB / 0.9745 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.8939, allocations: 1.166 MB / 0.9757 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001055/0.8949, allocations: 296.9 kB / 0.976 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.8953, allocations: 134.5 kB / 0.9761 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of SimCode: time 1.202e-06/0.8953, allocations: 0 / 0.9761 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of Templates: time 0.0272/0.9225, allocations: 16.68 MB / 0.9924 GB, free: 3.242 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)