Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.35/2.35, allocations: 252.6 MB / 265.2 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002013/0.002013, allocations: 181.6 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.5754 GB, free: 10.39 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 85.27 kB / 0.6797 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.545e-05, allocations: 0 / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.175/7.391, allocations: 2.189 GB / 3.084 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004496/7.392, allocations: 93.69 kB / 3.084 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3098/7.702, allocations: 58.02 MB / 3.141 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.66e-06/7.702, allocations: 4 kB / 3.141 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001555/7.702, allocations: 23.94 kB / 3.141 GB, free: 84.65 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00369/7.706, allocations: 1.015 MB / 3.142 GB, free: 83.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/7.706, allocations: 15.97 kB / 3.142 GB, free: 83.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/7.708, allocations: 178.7 kB / 3.142 GB, free: 83.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/7.71, allocations: 0.5998 MB / 3.143 GB, free: 82.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/7.71, allocations: 62 kB / 3.143 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/7.711, allocations: 68 kB / 3.143 GB, free: 82.63 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/7.714, allocations: 0.7975 MB / 3.144 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/7.714, allocations: 0 / 3.144 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/7.714, allocations: 39.89 kB / 3.144 GB, free: 81.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/7.714, allocations: 16 kB / 3.144 GB, free: 81.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/7.718, allocations: 0.9991 MB / 3.145 GB, free: 80.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/7.726, allocations: 2.34 MB / 3.147 GB, free: 78.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/7.729, allocations: 0.7494 MB / 3.148 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000859/7.73, allocations: 250.5 kB / 3.148 GB, free: 77.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/7.73, allocations: 28.52 kB / 3.148 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/7.731, allocations: 397.9 kB / 3.148 GB, free: 76.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 5.61e-06/7.731, allocations: 0 / 3.148 GB, free: 76.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.003604/7.735, allocations: 0.6677 MB / 3.149 GB, free: 76.19 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/7.735, allocations: 243.9 kB / 3.149 GB, free: 75.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/7.737, allocations: 0.5441 MB / 3.15 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/7.737, allocations: 41.7 kB / 3.15 GB, free: 75.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/7.738, allocations: 364.3 kB / 3.15 GB, free: 74.94 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/7.738, allocations: 224.7 kB / 3.15 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/7.738, allocations: 12 kB / 3.15 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/7.738, allocations: 378.8 kB / 3.151 GB, free: 74.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/7.739, allocations: 189.5 kB / 3.151 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009523/7.74, allocations: 301 kB / 3.151 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/7.741, allocations: 238 kB / 3.152 GB, free: 73.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/7.741, allocations: 0 / 3.152 GB, free: 73.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003451/7.744, allocations: 0.6565 MB / 3.152 GB, free: 72.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/7.745, allocations: 15.95 kB / 3.152 GB, free: 72.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/7.745, allocations: 0 / 3.152 GB, free: 72.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/7.746, allocations: 88.77 kB / 3.152 GB, free: 72.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/7.748, allocations: 123.9 kB / 3.152 GB, free: 72.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/7.751, allocations: 1.528 MB / 3.154 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/7.753, allocations: 75.44 kB / 3.154 GB, free: 70.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/7.753, allocations: 23.98 kB / 3.154 GB, free: 70.92 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0003452/7.753, allocations: 142 kB / 3.154 GB, free: 70.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/7.753, allocations: 79.11 kB / 3.154 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/7.758, allocations: 0.922 MB / 3.155 GB, free: 69.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/7.758, allocations: 8 kB / 3.155 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/7.758, allocations: 0 / 3.155 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/7.758, allocations: 3.984 kB / 3.155 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006534/7.765, allocations: 1.808 MB / 3.157 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/7.765, allocations: 3.938 kB / 3.157 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/7.766, allocations: 143.8 kB / 3.157 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/7.768, allocations: 84.81 kB / 3.157 GB, free: 67.65 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/7.768, allocations: 23.94 kB / 3.157 GB, free: 67.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/7.771, allocations: 1.536 MB / 3.159 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/7.771, allocations: 0 / 3.159 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/7.775, allocations: 0.8416 MB / 3.159 GB, free: 65.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000991/7.776, allocations: 275.8 kB / 3.16 GB, free: 64.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/7.776, allocations: 16 kB / 3.16 GB, free: 64.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/7.778, allocations: 67.94 kB / 3.16 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/7.778, allocations: 56.7 kB / 3.16 GB, free: 64.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/7.778, allocations: 31.98 kB / 3.16 GB, free: 64.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001217/7.78, allocations: 463.1 kB / 3.16 GB, free: 64.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.31e-07/7.78, allocations: 0 / 3.16 GB, free: 64.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00217/7.782, allocations: 323.2 kB / 3.161 GB, free: 63.86 MB / 0.8698 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) * 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.003261/7.785, allocations: 0.991 MB / 3.162 GB, free: 63.01 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002789/7.788, allocations: 0.6589 MB / 3.162 GB, free: 62.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/7.788, allocations: 4 kB / 3.162 GB, free: 62.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/7.79, allocations: 459 kB / 3.163 GB, free: 61.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/7.793, allocations: 236.4 kB / 3.163 GB, free: 61.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007791/7.801, allocations: 1.292 MB / 3.164 GB, free: 60.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/7.801, allocations: 1.015 MB / 3.165 GB, free: 59.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002025/7.804, allocations: 249.8 kB / 3.165 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/7.804, allocations: 91.39 kB / 3.165 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.552e-06/7.804, allocations: 0 / 3.165 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.1205/7.925, allocations: 21.3 MB / 3.186 GB, free: 37.75 MB / 0.8698 GB