Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.641/1.641, allocations: 287.4 MB / 303.2 MB, free: 8.25 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.001188/0.001188, allocations: 190.1 kB / 371.8 MB, free: 10.82 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.412/1.412, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007736/0.0007737, allocations: 104.1 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004121, allocations: 11.33 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.003832/0.1887, allocations: 4.282 MB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5679/0.7566, allocations: 136.9 MB / 1.117 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.7578, allocations: 17.47 kB / 1.117 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.7586, allocations: 143.2 kB / 1.117 GB, free: 1.551 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.002112/0.7607, allocations: 451.7 kB / 1.118 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.7633, allocations: 0.6634 MB / 1.118 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.7658, allocations: 1.39 MB / 1.12 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.7677, allocations: 0.9544 MB / 1.121 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.7689, allocations: 448 kB / 1.121 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.7699, allocations: 484.3 kB / 1.122 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.7703, allocations: 30.31 kB / 1.122 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.7715, allocations: 273.9 kB / 1.122 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.7719, allocations: 228.9 kB / 1.122 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.7725, allocations: 254 kB / 1.122 GB, free: 16.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.775, allocations: 1.516 MB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.775, allocations: 0 / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7751, allocations: 6.969 kB / 1.124 GB, free: 16.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001012/0.7752, allocations: 0 / 1.124 GB, free: 16.33 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.003903/0.7791, allocations: 1.44 MB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.7791, allocations: 13.36 kB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.7805, allocations: 244.4 kB / 1.125 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.7825, allocations: 0.8762 MB / 1.126 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.7826, allocations: 104.9 kB / 1.126 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003959/0.783, allocations: 131.2 kB / 1.126 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.7866, allocations: 1.378 MB / 1.128 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-05/0.7867, allocations: 0 / 1.128 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.7869, allocations: 58.03 kB / 1.128 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.787, allocations: 36.16 kB / 1.128 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.7904, allocations: 1.473 MB / 1.129 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006223/0.7966, allocations: 3.611 MB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.7982, allocations: 0.9485 MB / 1.134 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.7989, allocations: 401.2 kB / 1.134 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.799, allocations: 44.55 kB / 1.134 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.8001, allocations: 0.5799 MB / 1.135 GB, free: 13.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/0.8001, allocations: 0 / 1.135 GB, free: 13.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.00376/0.8038, allocations: 1.485 MB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.804, allocations: 191.5 kB / 1.136 GB, free: 13.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.8052, allocations: 0.7387 MB / 1.137 GB, free: 12.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.8054, allocations: 46.67 kB / 1.137 GB, free: 12.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.8058, allocations: 0.5534 MB / 1.138 GB, free: 12.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.8061, allocations: 355.9 kB / 1.138 GB, free: 12.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.8062, allocations: 19.84 kB / 1.138 GB, free: 12.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.8064, allocations: 400.6 kB / 1.138 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.8072, allocations: 358.7 kB / 1.139 GB, free: 11.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.808, allocations: 469.4 kB / 1.139 GB, free: 11.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.8094, allocations: 0.8343 MB / 1.14 GB, free: 11.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8094, allocations: 1.469 kB / 1.14 GB, free: 11.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002415/0.8119, allocations: 1.117 MB / 1.141 GB, free: 11.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.8119, allocations: 5.969 kB / 1.141 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8119, allocations: 1.125 kB / 1.141 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.8125, allocations: 82.69 kB / 1.141 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/0.8135, allocations: 224.2 kB / 1.141 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.8156, allocations: 1.548 MB / 1.143 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.8167, allocations: 108.5 kB / 1.143 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.8168, allocations: 50.98 kB / 1.143 GB, free: 9.961 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.0007301/0.8176, allocations: 320.5 kB / 1.143 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.8178, allocations: 98.69 kB / 1.144 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.8212, allocations: 1.393 MB / 1.145 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.8213, allocations: 7.984 kB / 1.145 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.8213, allocations: 0.8125 kB / 1.145 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006949/0.822, allocations: 352 kB / 1.145 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.8222, allocations: 18.88 kB / 1.145 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.823, allocations: 76.61 kB / 1.145 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.8232, allocations: 74.39 kB / 1.145 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002534/0.8258, allocations: 1.13 MB / 1.147 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002774/0.8286, allocations: 1.691 MB / 1.148 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000694/0.8293, allocations: 446.9 kB / 1.149 GB, free: 8.262 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008592/0.8302, allocations: 0.5485 MB / 1.149 GB, free: 8.086 MB / 0.698 GB Notification: Performance of Backend: time 7.41e-07/0.8302, allocations: 4 kB / 1.149 GB, free: 8.082 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.8336, allocations: 1.31 MB / 1.15 GB, free: 7.637 MB / 0.698 GB Notification: Performance of SimCode: time 0.004877/0.8385, allocations: 3.07 MB / 1.153 GB, free: 5.566 MB / 0.698 GB Notification: Performance of Templates: time 0.03188/0.8704, allocations: 17.48 MB / 1.17 GB, free: 12.8 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)