Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.001009/0.001009, allocations: 179 kB / 372.9 MB, free: 10.15 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.472/1.472, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0007554/0.000755, allocations: 88.08 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004158, allocations: 11.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004627/0.2213, allocations: 4.282 MB / 0.9849 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6167/0.838, allocations: 136.9 MB / 1.119 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.8389, allocations: 17.53 kB / 1.119 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.8393, allocations: 143.1 kB / 1.119 GB, free: 2.27 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.001399/0.8408, allocations: 462.3 kB / 1.119 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.8429, allocations: 0.6534 MB / 1.12 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.8444, allocations: 1.389 MB / 1.121 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.8455, allocations: 0.9541 MB / 1.122 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006126/0.8461, allocations: 443.8 kB / 1.123 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.8466, allocations: 486.9 kB / 1.123 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.8467, allocations: 30.62 kB / 1.123 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006887/0.8474, allocations: 288.2 kB / 1.123 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.8476, allocations: 228 kB / 1.123 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.848, allocations: 0.5611 MB / 1.124 GB, free: 17.01 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.8495, allocations: 1.511 MB / 1.126 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.8495, allocations: 1.25 kB / 1.126 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8495, allocations: 0 / 1.126 GB, free: 16.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.559e-05/0.8495, allocations: 0 / 1.126 GB, free: 16.89 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002511/0.852, allocations: 1.445 MB / 1.127 GB, free: 16.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8521, allocations: 8.938 kB / 1.127 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.853, allocations: 251.5 kB / 1.127 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.8542, allocations: 0.8745 MB / 1.128 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/0.8543, allocations: 101.2 kB / 1.128 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.8545, allocations: 132.7 kB / 1.128 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.8568, allocations: 1.378 MB / 1.13 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.8568, allocations: 4.875 kB / 1.13 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.857, allocations: 58.84 kB / 1.13 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.857, allocations: 33.88 kB / 1.13 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.8593, allocations: 1.476 MB / 1.131 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/0.8648, allocations: 3.62 MB / 1.135 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.8666, allocations: 0.954 MB / 1.136 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.8673, allocations: 393.5 kB / 1.136 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.8674, allocations: 50.83 kB / 1.136 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.8685, allocations: 0.5768 MB / 1.137 GB, free: 13.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.429e-06/0.8685, allocations: 1.031 kB / 1.137 GB, free: 13.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003863/0.8724, allocations: 1.479 MB / 1.138 GB, free: 13.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.8725, allocations: 195.9 kB / 1.138 GB, free: 12.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.8739, allocations: 0.7346 MB / 1.139 GB, free: 12.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.874, allocations: 48.3 kB / 1.139 GB, free: 12.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.8745, allocations: 0.5577 MB / 1.14 GB, free: 12.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.8749, allocations: 342.3 kB / 1.14 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.8749, allocations: 21.16 kB / 1.14 GB, free: 12.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.8752, allocations: 403.3 kB / 1.14 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/0.8759, allocations: 360.4 kB / 1.141 GB, free: 11.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.8767, allocations: 469.9 kB / 1.141 GB, free: 11.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.8781, allocations: 0.8312 MB / 1.142 GB, free: 11.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8781, allocations: 1.188 kB / 1.142 GB, free: 11.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00247/0.8806, allocations: 1.118 MB / 1.143 GB, free: 11.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.8806, allocations: 5.625 kB / 1.143 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8806, allocations: 5.156 kB / 1.143 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.8813, allocations: 84.33 kB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.8823, allocations: 230.3 kB / 1.143 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.8845, allocations: 1.535 MB / 1.145 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.8855, allocations: 114 kB / 1.145 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.8856, allocations: 47.66 kB / 1.145 GB, free: 9.703 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 (125): * Single equations (assignments): 124 * 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.0006892/0.8863, allocations: 315.2 kB / 1.145 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.8865, allocations: 99.47 kB / 1.145 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/0.8897, allocations: 1.399 MB / 1.147 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.8897, allocations: 7.984 kB / 1.147 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8897, allocations: 1.859 kB / 1.147 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.8903, allocations: 351.7 kB / 1.147 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.8905, allocations: 24.47 kB / 1.147 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.8912, allocations: 68.66 kB / 1.147 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.8913, allocations: 75.61 kB / 1.147 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002264/0.8936, allocations: 1.135 MB / 1.148 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002589/0.8962, allocations: 1.688 MB / 1.15 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007096/0.897, allocations: 442.3 kB / 1.15 GB, free: 7.996 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008917/0.8979, allocations: 0.5507 MB / 1.151 GB, free: 7.82 MB / 0.698 GB Notification: Performance of Backend: time 8.12e-07/0.8979, allocations: 1.375 kB / 1.151 GB, free: 7.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003509/0.9014, allocations: 1.316 MB / 1.152 GB, free: 7.336 MB / 0.698 GB Notification: Performance of SimCode: time 0.004356/0.9057, allocations: 3.072 MB / 1.155 GB, free: 5.27 MB / 0.698 GB Notification: Performance of Templates: time 0.03126/0.937, allocations: 17.63 MB / 1.172 GB, free: 12.45 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)