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 2.63/2.63, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001529/0.001529, allocations: 177.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009432/0.0009431, allocations: 90.67 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006021, allocations: 11.56 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2346, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00676/0.2414, allocations: 4.278 MB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.909/1.15, allocations: 136.9 MB / 1.116 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/1.152, allocations: 20.28 kB / 1.116 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007815/1.152, allocations: 139.9 kB / 1.116 GB, free: 1.488 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.002633/1.155, allocations: 458.2 kB / 1.117 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/1.159, allocations: 0.6556 MB / 1.117 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003124/1.162, allocations: 1.363 MB / 1.119 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/1.164, allocations: 0.7709 MB / 1.119 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/1.165, allocations: 447.4 kB / 1.12 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/1.167, allocations: 483.5 kB / 1.12 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/1.167, allocations: 30.19 kB / 1.12 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/1.169, allocations: 279.5 kB / 1.121 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/1.169, allocations: 232.2 kB / 1.121 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/1.169, allocations: 252 kB / 1.121 GB, free: 16.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/1.173, allocations: 1.516 MB / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.173, allocations: 0 / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.837e-06/1.173, allocations: 0 / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.747e-05/1.173, allocations: 0 / 1.123 GB, free: 16.37 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.004929/1.178, allocations: 1.456 MB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.178, allocations: 8.812 kB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/1.18, allocations: 253.6 kB / 1.124 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/1.182, allocations: 0.8531 MB / 1.125 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.183, allocations: 100.4 kB / 1.125 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/1.183, allocations: 132.2 kB / 1.125 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/1.187, allocations: 1.38 MB / 1.127 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/1.187, allocations: 3.375 kB / 1.127 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/1.187, allocations: 56.25 kB / 1.127 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/1.188, allocations: 37.11 kB / 1.127 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004804/1.192, allocations: 1.471 MB / 1.128 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/1.203, allocations: 3.596 MB / 1.132 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/1.206, allocations: 0.9624 MB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/1.207, allocations: 405.1 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.208, allocations: 44.08 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/1.209, allocations: 0.5779 MB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.288e-06/1.21, allocations: 0 / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.006647/1.216, allocations: 1.478 MB / 1.135 GB, free: 13.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/1.216, allocations: 193.5 kB / 1.135 GB, free: 13.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.218, allocations: 0.7432 MB / 1.136 GB, free: 13.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/1.219, allocations: 42.92 kB / 1.136 GB, free: 12.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000659/1.219, allocations: 0.5574 MB / 1.137 GB, free: 12.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006045/1.22, allocations: 347.4 kB / 1.137 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.22, allocations: 26.28 kB / 1.137 GB, free: 12.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003114/1.22, allocations: 399.6 kB / 1.137 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.222, allocations: 354.5 kB / 1.138 GB, free: 12.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.223, allocations: 476.3 kB / 1.138 GB, free: 11.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/1.225, allocations: 418 kB / 1.139 GB, free: 11.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.225, allocations: 1.406 kB / 1.139 GB, free: 11.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00457/1.229, allocations: 1.114 MB / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/1.229, allocations: 6.781 kB / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.229, allocations: 0 / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.23, allocations: 90.28 kB / 1.14 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/1.233, allocations: 227.1 kB / 1.14 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/1.236, allocations: 1.538 MB / 1.141 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.238, allocations: 115.3 kB / 1.142 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/1.238, allocations: 49.55 kB / 1.142 GB, free: 10.07 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.001161/1.24, allocations: 316.8 kB / 1.142 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/1.24, allocations: 98.59 kB / 1.142 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005798/1.246, allocations: 1.406 MB / 1.143 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.246, allocations: 16.45 kB / 1.143 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.246, allocations: 5.281 kB / 1.143 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-05/1.246, allocations: 7.969 kB / 1.143 GB, free: 9.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/1.254, allocations: 2.545 MB / 1.146 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.254, allocations: 3.938 kB / 1.146 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.256, allocations: 195.9 kB / 1.146 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009557/1.257, allocations: 87.45 kB / 1.146 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/1.257, allocations: 37.12 kB / 1.146 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/1.26, allocations: 1.557 MB / 1.148 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.26, allocations: 0 / 1.148 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/1.265, allocations: 1.167 MB / 1.149 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.266, allocations: 354.1 kB / 1.149 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003715/1.267, allocations: 21.12 kB / 1.149 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.268, allocations: 72.97 kB / 1.149 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/1.268, allocations: 77.55 kB / 1.149 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.269, allocations: 36.86 kB / 1.149 GB, free: 6.488 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001319/1.27, allocations: 0.5518 MB / 1.15 GB, free: 6.316 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.27, allocations: 0 / 1.15 GB, free: 6.316 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002006/1.272, allocations: 384.1 kB / 1.15 GB, free: 6.234 MB / 0.698 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/1.274, allocations: 0.5726 MB / 1.151 GB, free: 5.984 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004067/1.278, allocations: 1.041 MB / 1.152 GB, free: 5.719 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.278, allocations: 1.594 kB / 1.152 GB, free: 5.719 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.28, allocations: 0.6057 MB / 1.152 GB, free: 5.523 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.283, allocations: 268.3 kB / 1.153 GB, free: 5.449 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009869/1.293, allocations: 2.924 MB / 1.156 GB, free: 3.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.294, allocations: 1.162 MB / 1.157 GB, free: 2.918 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001982/1.296, allocations: 305.4 kB / 1.157 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/1.297, allocations: 131.3 kB / 1.157 GB, free: 2.738 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/1.297, allocations: 0 / 1.157 GB, free: 2.738 MB / 0.698 GB Notification: Performance of Templates: time 0.04911/1.346, allocations: 16.08 MB / 1.173 GB, free: 10.7 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)