Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008266/0.0008266, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009723/0.0009724, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005243, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5069, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005271/0.5122, allocations: 4.297 MB / 0.7323 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.6692, allocations: 136.9 MB / 0.866 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.6701, allocations: 19.88 kB / 0.866 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.6706, allocations: 142.8 kB / 0.8661 GB, free: 13.67 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001348/0.6719, allocations: 452.1 kB / 0.8665 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.6736, allocations: 0.6577 MB / 0.8672 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.6749, allocations: 1.355 MB / 0.8685 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/0.6759, allocations: 0.7831 MB / 0.8693 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005754/0.6765, allocations: 445.7 kB / 0.8697 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.677, allocations: 485.3 kB / 0.8702 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.6771, allocations: 28 kB / 0.8702 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.6776, allocations: 279.7 kB / 0.8705 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.6779, allocations: 226.8 kB / 0.8707 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.6781, allocations: 252.9 kB / 0.8709 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.6794, allocations: 1.516 MB / 0.8724 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6794, allocations: 0 / 0.8724 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6794, allocations: 0 / 0.8724 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.6794, allocations: 0 / 0.8724 GB, free: 7.203 MB / 0.6856 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.002382/0.6818, allocations: 1.463 MB / 0.8738 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6818, allocations: 12.03 kB / 0.8738 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.6827, allocations: 245.8 kB / 0.8741 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6838, allocations: 0.8368 MB / 0.8749 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.6839, allocations: 106.8 kB / 0.875 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.684, allocations: 132 kB / 0.8751 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.6862, allocations: 1.38 MB / 0.8765 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.6862, allocations: 4 kB / 0.8765 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.6863, allocations: 59.98 kB / 0.8765 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.6864, allocations: 35.95 kB / 0.8766 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.6886, allocations: 1.474 MB / 0.878 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.6937, allocations: 3.595 MB / 0.8815 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.6952, allocations: 0.9581 MB / 0.8824 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/0.6958, allocations: 399.6 kB / 0.8828 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.6959, allocations: 49.06 kB / 0.8829 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009373/0.6969, allocations: 0.5787 MB / 0.8834 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=104): time 2.544e-06/0.6969, allocations: 0 / 0.8834 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=104): time 0.003197/0.7001, allocations: 1.49 MB / 0.8849 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.7002, allocations: 188.9 kB / 0.8851 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.7011, allocations: 0.7432 MB / 0.8858 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.7012, allocations: 45.7 kB / 0.8858 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.7016, allocations: 0.5505 MB / 0.8864 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.7018, allocations: 350.9 kB / 0.8867 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.7019, allocations: 20 kB / 0.8867 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7021, allocations: 398.7 kB / 0.8871 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.7027, allocations: 354.4 kB / 0.8874 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.7035, allocations: 478.2 kB / 0.8879 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.7042, allocations: 422.8 kB / 0.8883 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7042, allocations: 4 kB / 0.8883 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002101/0.7063, allocations: 1.106 MB / 0.8894 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.7063, allocations: 8 kB / 0.8894 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7063, allocations: 0 / 0.8894 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.7069, allocations: 96.75 kB / 0.8895 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.7078, allocations: 219.7 kB / 0.8897 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.7097, allocations: 1.536 MB / 0.8912 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.7104, allocations: 115.2 kB / 0.8913 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.7105, allocations: 51.89 kB / 0.8914 GB, free: 3.23 MB / 0.7012 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.0005026/0.711, allocations: 309.6 kB / 0.8917 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.7112, allocations: 102.7 kB / 0.8918 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.714, allocations: 1.411 MB / 0.8931 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.7141, allocations: 12 kB / 0.8931 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.7141, allocations: 0 / 0.8931 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7141, allocations: 7.969 kB / 0.8932 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/0.7184, allocations: 2.547 MB / 0.8956 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7184, allocations: 0 / 0.8956 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.7191, allocations: 195.8 kB / 0.8958 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/0.7196, allocations: 88.67 kB / 0.8959 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.7197, allocations: 35.97 kB / 0.8959 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.7216, allocations: 1.559 MB / 0.8975 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7216, allocations: 0 / 0.8975 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.7237, allocations: 1.171 MB / 0.8986 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.7242, allocations: 355.2 kB / 0.8989 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.7243, allocations: 20 kB / 0.899 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.725, allocations: 71.94 kB / 0.899 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.7251, allocations: 76.89 kB / 0.8991 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.7252, allocations: 39.98 kB / 0.8991 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007434/0.726, allocations: 0.5459 MB / 0.8997 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/0.726, allocations: 0 / 0.8997 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001079/0.7271, allocations: 386.7 kB / 0.9001 GB, free: 10.06 MB / 0.7169 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.001229/0.7283, allocations: 0.5588 MB / 0.9006 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.7304, allocations: 1.03 MB / 0.9016 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7304, allocations: 0 / 0.9016 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.7314, allocations: 0.6174 MB / 0.9022 GB, free: 8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.7328, allocations: 278.8 kB / 0.9025 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.7383, allocations: 2.912 MB / 0.9053 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.7394, allocations: 1.165 MB / 0.9065 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001161/0.7406, allocations: 304.1 kB / 0.9067 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.741, allocations: 131.4 kB / 0.9069 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/0.741, allocations: 0 / 0.9069 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of Templates: time 0.401/1.142, allocations: 16.08 MB / 0.9226 GB, free: 174.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: