Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007933/0.0007934, allocations: 91.61 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.0009042/0.0009043, 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.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.555/1.555, allocations: 252 MB / 0.5102 GB, free: 4.766 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.0005247/0.0005248, allocations: 20 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5355, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004523/0.5401, allocations: 3.521 MB / 0.7316 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.7009, allocations: 136.4 MB / 0.8648 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009184/0.7018, allocations: 15.94 kB / 0.8648 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.7024, allocations: 123 kB / 0.8649 GB, free: 14.91 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.001355/0.7037, allocations: 345.7 kB / 0.8652 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.7054, allocations: 0.5875 MB / 0.8658 GB, free: 14 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.7066, allocations: 0.9888 MB / 0.8668 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007689/0.7074, allocations: 463 kB / 0.8672 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.7079, allocations: 278.7 kB / 0.8675 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.7083, allocations: 306.3 kB / 0.8678 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.7084, allocations: 20 kB / 0.8678 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000645/0.7091, allocations: 275.7 kB / 0.8681 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.7093, allocations: 163.3 kB / 0.8682 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.7095, allocations: 169.2 kB / 0.8684 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.7107, allocations: 1.021 MB / 0.8694 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.7107, allocations: 0 / 0.8694 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7107, allocations: 7.938 kB / 0.8694 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7107, allocations: 0 / 0.8694 GB, free: 10.32 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001956/0.7127, allocations: 1.096 MB / 0.8705 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7127, allocations: 12.03 kB / 0.8705 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.7135, allocations: 186.5 kB / 0.8706 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.7145, allocations: 0.6642 MB / 0.8713 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.7146, allocations: 58 kB / 0.8714 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.7147, allocations: 72 kB / 0.8714 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.7162, allocations: 0.8442 MB / 0.8722 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.7162, allocations: 4 kB / 0.8722 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.7163, allocations: 36 kB / 0.8723 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.7163, allocations: 23.95 kB / 0.8723 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.7181, allocations: 1.046 MB / 0.8733 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.7219, allocations: 2.387 MB / 0.8757 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.7231, allocations: 0.7137 MB / 0.8764 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.7237, allocations: 278.4 kB / 0.8766 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/0.7238, allocations: 28.59 kB / 0.8766 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/0.7247, allocations: 429.7 kB / 0.8771 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 4.739e-06/0.7248, allocations: 0 / 0.8771 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.002793/0.7276, allocations: 1.087 MB / 0.8781 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.7277, allocations: 188.5 kB / 0.8783 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.7285, allocations: 0.5577 MB / 0.8788 GB, free: 332 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.7285, allocations: 45.7 kB / 0.8789 GB, free: 280 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.7289, allocations: 356.5 kB / 0.8792 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.7292, allocations: 232.7 kB / 0.8794 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.7292, allocations: 12 kB / 0.8795 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7294, allocations: 378.7 kB / 0.8798 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.7298, allocations: 237.9 kB / 0.88 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.7303, allocations: 330.8 kB / 0.8804 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.7308, allocations: 283.1 kB / 0.8806 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7308, allocations: 0 / 0.8806 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001669/0.7325, allocations: 0.7705 MB / 0.8814 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.7326, allocations: 9.344 kB / 0.8814 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7326, allocations: 64 / 0.8814 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.7331, allocations: 88.86 kB / 0.8815 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.7337, allocations: 147.8 kB / 0.8816 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.7358, allocations: 1.538 MB / 0.8831 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006043/0.7365, allocations: 86.3 kB / 0.8832 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.7365, allocations: 31.98 kB / 0.8832 GB, free: 11.64 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 (81): * Single equations (assignments): 80 * 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.0004048/0.737, allocations: 257.6 kB / 0.8835 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7371, allocations: 75.11 kB / 0.8836 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.7394, allocations: 0.9818 MB / 0.8845 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.7394, allocations: 8 kB / 0.8845 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7394, allocations: 0 / 0.8845 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.7394, allocations: 11.92 kB / 0.8845 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/0.7403, allocations: 0.8333 MB / 0.8853 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7404, allocations: 3.984 kB / 0.8853 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.7409, allocations: 139.8 kB / 0.8855 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.7414, allocations: 84.77 kB / 0.8856 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.7414, allocations: 27.92 kB / 0.8856 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.7434, allocations: 1.552 MB / 0.8871 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7434, allocations: 0 / 0.8871 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.7451, allocations: 0.8382 MB / 0.8879 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.7455, allocations: 267.8 kB / 0.8882 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.7456, allocations: 12 kB / 0.8882 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.7462, allocations: 71.94 kB / 0.8883 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7463, allocations: 60.88 kB / 0.8883 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.7464, allocations: 27.98 kB / 0.8883 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005634/0.747, allocations: 419 kB / 0.8887 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.747, allocations: 0 / 0.8887 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007383/0.7477, allocations: 267.3 kB / 0.889 GB, free: 5.473 MB / 0.7012 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001171/0.7489, allocations: 0.5602 MB / 0.8895 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.7504, allocations: 0.7513 MB / 0.8903 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7504, allocations: 0 / 0.8903 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000842/0.7512, allocations: 492.2 kB / 0.8907 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7523, allocations: 246.5 kB / 0.891 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.7562, allocations: 1.992 MB / 0.8929 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.7569, allocations: 0.9913 MB / 0.8939 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008821/0.7578, allocations: 257.8 kB / 0.8941 GB, free: 312 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.7581, allocations: 95.39 kB / 0.8942 GB, free: 216 kB / 0.7012 GB Notification: Performance of SimCode: time 6.72e-07/0.7582, allocations: 0 / 0.8942 GB, free: 216 kB / 0.7012 GB Notification: Performance of Templates: time 0.02414/0.7823, allocations: 12.45 MB / 0.9064 GB, free: 3.898 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: