Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001515/0.001515, allocations: 186.3 kB / 376.9 MB, free: 1.824 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.624/1.624, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009501/0.0009502, allocations: 99.11 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 51.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007852/0.287, allocations: 4.351 MB / 0.9865 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6871/0.9741, allocations: 148 MB / 1.131 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009028/0.9751, allocations: 17.31 kB / 1.131 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.9757, allocations: 135.4 kB / 1.131 GB, free: 6.871 MB / 0.7448 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.001476/0.9772, allocations: 389.4 kB / 1.132 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.9791, allocations: 0.6968 MB / 1.132 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.9801, allocations: 1.192 MB / 1.133 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.9809, allocations: 0.6575 MB / 1.134 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.9814, allocations: 428.6 kB / 1.134 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.9818, allocations: 478.6 kB / 1.135 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.9819, allocations: 62.25 kB / 1.135 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006799/0.9826, allocations: 362.6 kB / 1.135 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.9828, allocations: 238.2 kB / 1.135 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.9832, allocations: 0.4986 MB / 1.136 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.9844, allocations: 1.478 MB / 1.137 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9844, allocations: 0 / 1.137 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9844, allocations: 4 kB / 1.137 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.9844, allocations: 0.5625 kB / 1.137 GB, free: 3.742 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001956/0.9864, allocations: 1.412 MB / 1.139 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.9864, allocations: 9.719 kB / 1.139 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.9873, allocations: 191.3 kB / 1.139 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.9882, allocations: 0.7358 MB / 1.14 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.9883, allocations: 72.73 kB / 1.14 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.9884, allocations: 86.25 kB / 1.14 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.9897, allocations: 0.9691 MB / 1.141 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.9897, allocations: 0 / 1.141 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.9898, allocations: 38.88 kB / 1.141 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.9898, allocations: 21.19 kB / 1.141 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.9914, allocations: 1.144 MB / 1.142 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.9948, allocations: 2.616 MB / 1.145 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.996, allocations: 0.7759 MB / 1.145 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.9965, allocations: 309.4 kB / 1.146 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.9966, allocations: 39.31 kB / 1.146 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.9974, allocations: 456.3 kB / 1.146 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 2.545e-06/0.9974, allocations: 0 / 1.146 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.002832/1, allocations: 1.148 MB / 1.147 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/1, allocations: 190 kB / 1.147 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/1.001, allocations: 0.6207 MB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/1.001, allocations: 40.86 kB / 1.148 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/1.001, allocations: 411.6 kB / 1.148 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/1.002, allocations: 264.4 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/1.002, allocations: 169.8 kB / 1.149 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.002, allocations: 381.8 kB / 1.149 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/1.002, allocations: 258.3 kB / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/1.003, allocations: 360.6 kB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.004, allocations: 0.6166 MB / 1.15 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.004, allocations: 0 / 1.15 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001826/1.006, allocations: 0.8411 MB / 1.151 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.006, allocations: 6.438 kB / 1.151 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.006, allocations: 0.6875 kB / 1.151 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/1.007, allocations: 82.59 kB / 1.151 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/1.007, allocations: 162.5 kB / 1.151 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/1.009, allocations: 1.533 MB / 1.153 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/1.01, allocations: 79.03 kB / 1.153 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/1.01, allocations: 35.27 kB / 1.153 GB, free: 11 MB / 0.7605 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 (93): * Single equations (assignments): 92 * 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.0003578/1.01, allocations: 269.2 kB / 1.153 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/1.01, allocations: 87.56 kB / 1.153 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.013, allocations: 1.083 MB / 1.154 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.013, allocations: 14.7 kB / 1.154 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.013, allocations: 0.5 kB / 1.154 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.013, allocations: 3.516 kB / 1.154 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/1.016, allocations: 1.987 MB / 1.156 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.016, allocations: 5.25 kB / 1.156 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/1.016, allocations: 159.8 kB / 1.157 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/1.017, allocations: 89.02 kB / 1.157 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/1.017, allocations: 28.89 kB / 1.157 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.019, allocations: 1.548 MB / 1.158 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.019, allocations: 0 / 1.158 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/1.021, allocations: 2.01 MB / 1.16 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/1.022, allocations: 260.7 kB / 1.16 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/1.022, allocations: 25.59 kB / 1.16 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/1.022, allocations: 51.92 kB / 1.16 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.023, allocations: 72.31 kB / 1.161 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/1.023, allocations: 34.34 kB / 1.161 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005544/1.023, allocations: 450 kB / 1.161 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.01e-07/1.023, allocations: 0 / 1.161 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009562/1.024, allocations: 315.4 kB / 1.161 GB, free: 6.082 MB / 0.7605 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 (94): * Single equations (assignments): 91 * 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.00132/1.026, allocations: 0.5889 MB / 1.162 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.027, allocations: 0.8125 MB / 1.163 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.027, allocations: 0 / 1.163 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.028, allocations: 0.5073 MB / 1.163 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.03, allocations: 263.2 kB / 1.163 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/1.034, allocations: 2.724 MB / 1.166 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/1.035, allocations: 1.065 MB / 1.167 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000955/1.036, allocations: 264.9 kB / 1.167 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.036, allocations: 102.7 kB / 1.167 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of SimCode: time 6.41e-07/1.036, allocations: 3.938 kB / 1.167 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of Templates: time 0.02726/1.063, allocations: 14.4 MB / 1.182 GB, free: 1.508 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)