Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.343/2.343, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 183.6 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.557/2.557, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001077/0.001077, allocations: 102.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006391, allocations: 15.33 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2224, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005402/0.2278, allocations: 3.491 MB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1943/0.4222, allocations: 127.2 MB / 1.027 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.423, allocations: 15.94 kB / 1.027 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.4234, allocations: 75.27 kB / 1.027 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.4255, allocations: 417.5 kB / 1.027 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.4281, allocations: 0.5897 MB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.43, allocations: 0.7402 MB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.4311, allocations: 459 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007673/0.4319, allocations: 298.8 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.4325, allocations: 294.4 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4326, allocations: 20 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009262/0.4335, allocations: 243.7 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.4338, allocations: 163.3 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.4341, allocations: 177.2 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.436, allocations: 1.013 MB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.436, allocations: 0 / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4361, allocations: 3.938 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.4361, allocations: 4 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00316/0.4393, allocations: 1.116 MB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4393, allocations: 12.03 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.4408, allocations: 186.6 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.4426, allocations: 0.6642 MB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.4428, allocations: 61.94 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.443, allocations: 79.94 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.4454, allocations: 0.8442 MB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.4455, allocations: 0 / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.4456, allocations: 35.95 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.4457, allocations: 24 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.4486, allocations: 1.054 MB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006535/0.4552, allocations: 2.388 MB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.4576, allocations: 0.805 MB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.4578, allocations: 28.7 kB / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.4591, allocations: 436.4 kB / 1.038 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/0.4591, allocations: 0 / 1.038 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.005111/0.4642, allocations: 1.089 MB / 1.039 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.4644, allocations: 188.6 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4656, allocations: 0.5665 MB / 1.04 GB, free: 40 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.4658, allocations: 37.75 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.4663, allocations: 372.3 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.4666, allocations: 240.4 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.4667, allocations: 12 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000254/0.4669, allocations: 378.8 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.4683, allocations: 217.2 kB / 1.041 GB, free: 14.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.47, allocations: 314.8 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4718, allocations: 267.1 kB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.4719, allocations: 7.938 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.005409/0.4773, allocations: 0.7275 MB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.4774, allocations: 6.031 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4774, allocations: 0 / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.4791, allocations: 84.86 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.4809, allocations: 143.8 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.4842, allocations: 1.524 MB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.4854, allocations: 83.41 kB / 1.044 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4855, allocations: 31.97 kB / 1.045 GB, free: 11.44 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 (76): * Single equations (assignments): 75 * 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.0006776/0.4862, allocations: 245.7 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.4865, allocations: 79.02 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.4906, allocations: 1.017 MB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.4906, allocations: 8 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4906, allocations: 4 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.4907, allocations: 7.984 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.4962, allocations: 1.869 MB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.4963, allocations: 0 / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4975, allocations: 159.8 kB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009064/0.4984, allocations: 80.78 kB / 1.048 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.4986, allocations: 23.98 kB / 1.048 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.5017, allocations: 1.559 MB / 1.049 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5017, allocations: 4.031 kB / 1.049 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.5051, allocations: 0.9219 MB / 1.05 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.5059, allocations: 267.7 kB / 1.051 GB, free: 4.945 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.5061, allocations: 20.27 kB / 1.051 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.5072, allocations: 66.84 kB / 1.051 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.5075, allocations: 64.91 kB / 1.051 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5076, allocations: 27.98 kB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008836/0.5085, allocations: 419 kB / 1.051 GB, free: 4.367 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/0.5085, allocations: 0 / 1.051 GB, free: 4.367 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001347/0.5099, allocations: 271.2 kB / 1.051 GB, free: 4.102 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 (87): * Single equations (assignments): 84 * 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.001822/0.5117, allocations: 0.5658 MB / 1.052 GB, free: 3.711 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.5144, allocations: 0.7238 MB / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.5145, allocations: 192 / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.5161, allocations: 0.4963 MB / 1.053 GB, free: 2.469 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5181, allocations: 239.5 kB / 1.053 GB, free: 2.234 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.5247, allocations: 2.029 MB / 1.055 GB, free: 176 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5772/1.102, allocations: 1.022 MB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001462/1.103, allocations: 253.4 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/1.104, allocations: 100.3 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.104, allocations: 0 / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03829/1.142, allocations: 12.5 MB / 1.069 GB, free: 151.4 MB / 0.698 GB