Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.652/1.652, allocations: 287.4 MB / 303.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 174 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007481/0.0007481, allocations: 100.4 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 15.09 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003586/0.1933, allocations: 3.549 MB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6088/0.8021, allocations: 136.4 MB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.8028, allocations: 14.78 kB / 1.116 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.8032, allocations: 124 kB / 1.116 GB, free: 1.609 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.001308/0.8046, allocations: 351.7 kB / 1.116 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.8066, allocations: 0.6023 MB / 1.117 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.8079, allocations: 1.034 MB / 1.118 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.8087, allocations: 0.5641 MB / 1.119 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.8093, allocations: 301.6 kB / 1.119 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.8098, allocations: 314.3 kB / 1.119 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.8098, allocations: 20.41 kB / 1.119 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.8106, allocations: 270.4 kB / 1.119 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.8108, allocations: 162.7 kB / 1.12 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.811, allocations: 175.2 kB / 1.12 GB, free: 16.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.8125, allocations: 1.01 MB / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8125, allocations: 0 / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8125, allocations: 1.562 kB / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.8125, allocations: 0 / 1.121 GB, free: 16.81 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00214/0.8147, allocations: 1.105 MB / 1.122 GB, free: 16.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8147, allocations: 8.094 kB / 1.122 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/0.8156, allocations: 189.5 kB / 1.122 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.8166, allocations: 0.6978 MB / 1.123 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.8166, allocations: 60.72 kB / 1.123 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.8167, allocations: 78.44 kB / 1.123 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.8182, allocations: 0.8488 MB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.8183, allocations: 0 / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.8183, allocations: 35.84 kB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.8184, allocations: 23.97 kB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.8198, allocations: 1.057 MB / 1.125 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.8233, allocations: 2.382 MB / 1.127 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.8246, allocations: 0.8003 MB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.8251, allocations: 280.7 kB / 1.128 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-05/0.8251, allocations: 35.22 kB / 1.128 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007245/0.8259, allocations: 427.5 kB / 1.129 GB, free: 14.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/0.8259, allocations: 0 / 1.129 GB, free: 14.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002727/0.8286, allocations: 1.097 MB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.8287, allocations: 192.8 kB / 1.13 GB, free: 14.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.8294, allocations: 0.5588 MB / 1.13 GB, free: 13.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.8295, allocations: 39.52 kB / 1.13 GB, free: 13.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.8298, allocations: 366.2 kB / 1.131 GB, free: 13.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.83, allocations: 241.1 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.83, allocations: 9.625 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8301, allocations: 378 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.8306, allocations: 241.4 kB / 1.132 GB, free: 13.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.8311, allocations: 328.5 kB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.8319, allocations: 0.5612 MB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8319, allocations: 0 / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001645/0.8336, allocations: 0.7887 MB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8336, allocations: 7.781 kB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8337, allocations: 1.438 kB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/0.8342, allocations: 84.67 kB / 1.133 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.8348, allocations: 156 kB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.8367, allocations: 1.524 MB / 1.135 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.8374, allocations: 82.36 kB / 1.135 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.8375, allocations: 41.62 kB / 1.135 GB, free: 11.69 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005124/0.838, allocations: 260.5 kB / 1.135 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.8381, allocations: 71.91 kB / 1.135 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.8403, allocations: 1.01 MB / 1.136 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.8403, allocations: 4.406 kB / 1.136 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8403, allocations: 1.406 kB / 1.136 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.8407, allocations: 270.9 kB / 1.137 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.8408, allocations: 21.95 kB / 1.137 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.8413, allocations: 68.83 kB / 1.137 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.8415, allocations: 64.91 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001804/0.8433, allocations: 0.8848 MB / 1.138 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001926/0.8452, allocations: 1.303 MB / 1.139 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005358/0.8458, allocations: 327.7 kB / 1.139 GB, free: 10.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006017/0.8464, allocations: 412.8 kB / 1.14 GB, free: 10.67 MB / 0.698 GB Notification: Performance of Backend: time 3.31e-07/0.8464, allocations: 0 / 1.14 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.8496, allocations: 1.126 MB / 1.141 GB, free: 10.33 MB / 0.698 GB Notification: Performance of SimCode: time 0.003153/0.8527, allocations: 2.248 MB / 1.143 GB, free: 8.781 MB / 0.698 GB Notification: Performance of Templates: time 0.0303/0.883, allocations: 13.51 MB / 1.156 GB, free: 1.996 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)