Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.982/2.982, allocations: 287.9 MB / 302.9 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 183.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 100.3 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 15.95 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004254/0.1659, allocations: 3.402 MB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7786/0.9445, allocations: 127.2 MB / 1.106 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.9453, allocations: 13.19 kB / 1.106 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.9456, allocations: 70.06 kB / 1.106 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.9474, allocations: 416.9 kB / 1.107 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.9497, allocations: 0.5794 MB / 1.107 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.9512, allocations: 0.7117 MB / 1.108 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/0.952, allocations: 447.2 kB / 1.108 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.9526, allocations: 283.9 kB / 1.109 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.9531, allocations: 281.6 kB / 1.109 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-05/0.9532, allocations: 20.38 kB / 1.109 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.9541, allocations: 241.8 kB / 1.109 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.9543, allocations: 159.9 kB / 1.109 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.9546, allocations: 173.6 kB / 1.11 GB, free: 17.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.9562, allocations: 0.9912 MB / 1.111 GB, free: 17.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.079e-06/0.9563, allocations: 1.438 kB / 1.111 GB, free: 17.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.723e-06/0.9563, allocations: 0 / 1.111 GB, free: 17.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.9563, allocations: 0 / 1.111 GB, free: 17.57 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002455/0.9588, allocations: 1.095 MB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.9588, allocations: 13.05 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.96, allocations: 188 kB / 1.112 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.9616, allocations: 0.6707 MB / 1.112 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/0.9617, allocations: 57.95 kB / 1.112 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.9618, allocations: 75.09 kB / 1.113 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.9638, allocations: 0.8182 MB / 1.113 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.9639, allocations: 0 / 1.113 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.964, allocations: 32.28 kB / 1.113 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.9641, allocations: 22.7 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.9665, allocations: 1.043 MB / 1.114 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.9715, allocations: 2.327 MB / 1.117 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.9734, allocations: 0.7847 MB / 1.117 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.313e-05/0.9735, allocations: 29.16 kB / 1.117 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009795/0.9745, allocations: 412.5 kB / 1.118 GB, free: 15.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 4.113e-06/0.9746, allocations: 0 / 1.118 GB, free: 15.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.003613/0.9782, allocations: 1.059 MB / 1.119 GB, free: 15.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.9784, allocations: 191.9 kB / 1.119 GB, free: 14.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.9794, allocations: 0.5507 MB / 1.12 GB, free: 14.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.9796, allocations: 37.27 kB / 1.12 GB, free: 14.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.98, allocations: 371.7 kB / 1.12 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.9802, allocations: 229.9 kB / 1.12 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.9803, allocations: 12.41 kB / 1.12 GB, free: 14.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.9805, allocations: 379.5 kB / 1.121 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.9811, allocations: 207.6 kB / 1.121 GB, free: 14.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.9818, allocations: 317.2 kB / 1.121 GB, free: 14.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.9825, allocations: 261.3 kB / 1.121 GB, free: 14.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.75e-06/0.9825, allocations: 0 / 1.121 GB, free: 14.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002152/0.9847, allocations: 0.7012 MB / 1.122 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.9847, allocations: 6.438 kB / 1.122 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.9847, allocations: 5.25 kB / 1.122 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/0.9854, allocations: 88.19 kB / 1.122 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.9861, allocations: 132.3 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.9887, allocations: 1.535 MB / 1.124 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/0.9896, allocations: 78.55 kB / 1.124 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.9897, allocations: 23.47 kB / 1.124 GB, free: 12.55 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0006048/0.9904, allocations: 253.9 kB / 1.124 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.9906, allocations: 75.62 kB / 1.124 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.9934, allocations: 0.9694 MB / 1.125 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.9935, allocations: 8.281 kB / 1.125 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9935, allocations: 0 / 1.125 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.9935, allocations: 6.031 kB / 1.125 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.9976, allocations: 1.794 MB / 1.127 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.63e-06/0.9976, allocations: 0 / 1.127 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.9984, allocations: 141.3 kB / 1.127 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006166/0.9991, allocations: 86.17 kB / 1.127 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.9992, allocations: 22.84 kB / 1.127 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/1.002, allocations: 1.556 MB / 1.129 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.633e-06/1.002, allocations: 0 / 1.129 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/1.004, allocations: 0.8901 MB / 1.13 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/1.005, allocations: 261.7 kB / 1.13 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.005, allocations: 15.91 kB / 1.13 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/1.006, allocations: 69.41 kB / 1.13 GB, free: 9.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.006, allocations: 59.62 kB / 1.13 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.006, allocations: 33.95 kB / 1.13 GB, free: 9.949 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007211/1.007, allocations: 400.5 kB / 1.13 GB, free: 9.809 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.013e-06/1.007, allocations: 4 kB / 1.13 GB, free: 9.805 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001091/1.008, allocations: 254.3 kB / 1.131 GB, free: 9.758 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 (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.001878/1.01, allocations: 0.5568 MB / 1.131 GB, free: 9.516 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.012, allocations: 0.7106 MB / 1.132 GB, free: 9.293 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.476e-06/1.012, allocations: 1.859 kB / 1.132 GB, free: 9.293 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.013, allocations: 473.4 kB / 1.132 GB, free: 9.113 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.014, allocations: 242.8 kB / 1.132 GB, free: 9.035 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/1.019, allocations: 1.957 MB / 1.134 GB, free: 7.953 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/1.02, allocations: 1.012 MB / 1.135 GB, free: 7.117 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001269/1.022, allocations: 254.8 kB / 1.136 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/1.022, allocations: 93.33 kB / 1.136 GB, free: 6.969 MB / 0.698 GB Notification: Performance of SimCode: time 1.779e-06/1.022, allocations: 0 / 1.136 GB, free: 6.969 MB / 0.698 GB Notification: Performance of Templates: time 0.03395/1.056, allocations: 12.17 MB / 1.148 GB, free: 0.8672 MB / 0.698 GB