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.42/2.42, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001632/0.001632, allocations: 187.1 kB / 325.6 MB, free: 2.84 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.481/2.481, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001106/0.001106, allocations: 95.91 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007694/0.0007695, allocations: 12.16 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2228, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007049/0.2299, allocations: 3.409 MB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2573/0.4873, allocations: 127.2 MB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.4881, allocations: 19.88 kB / 1.026 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.4885, allocations: 63.42 kB / 1.027 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.4905, allocations: 412.8 kB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.4931, allocations: 0.5807 MB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.4949, allocations: 0.713 MB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009714/0.4959, allocations: 443 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.4966, allocations: 290.8 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.4971, allocations: 274.5 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.4972, allocations: 24 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009263/0.4982, allocations: 243.6 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.4985, allocations: 159.3 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.4987, allocations: 169.2 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.5006, allocations: 0.9978 MB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5007, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.123e-06/0.5007, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.5007, allocations: 0 / 1.031 GB, free: 10.18 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003041/0.5038, allocations: 1.092 MB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5039, allocations: 8.031 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.5053, allocations: 186.6 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.507, allocations: 0.6681 MB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.5071, allocations: 54 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.5073, allocations: 76 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.5096, allocations: 0.8207 MB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.5097, allocations: 3.984 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.5098, allocations: 35.95 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.5099, allocations: 24 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.513, allocations: 1.034 MB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006757/0.5198, allocations: 2.33 MB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.5223, allocations: 0.7852 MB / 1.038 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.5225, allocations: 28.58 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.5238, allocations: 409.8 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 5.099e-06/0.5239, allocations: 4 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.005077/0.529, allocations: 1.052 MB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.5291, allocations: 196.4 kB / 1.039 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.5303, allocations: 0.5499 MB / 1.04 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.5305, allocations: 37.7 kB / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.531, allocations: 368.2 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.5314, allocations: 228.7 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.5315, allocations: 16 kB / 1.04 GB, free: 15.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.5317, allocations: 378.7 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/0.5325, allocations: 213.2 kB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.5341, allocations: 310.7 kB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.5357, allocations: 255.1 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.5357, allocations: 4 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003652/0.5394, allocations: 0.7002 MB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.5395, allocations: 7.953 kB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5395, allocations: 0 / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5405, allocations: 84.86 kB / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.5418, allocations: 135.8 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.5451, allocations: 1.534 MB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.5462, allocations: 84.27 kB / 1.044 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5464, allocations: 31.92 kB / 1.044 GB, free: 11.96 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.0006605/0.547, allocations: 245.7 kB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.5473, allocations: 79.02 kB / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.5512, allocations: 0.9584 MB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.5512, allocations: 8 kB / 1.045 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5512, allocations: 0 / 1.045 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.5513, allocations: 3.984 kB / 1.045 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/0.5567, allocations: 1.793 MB / 1.047 GB, free: 8.797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5567, allocations: 0 / 1.047 GB, free: 8.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.5579, allocations: 139.8 kB / 1.047 GB, free: 8.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009086/0.5588, allocations: 84.77 kB / 1.047 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.559, allocations: 27.94 kB / 1.047 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.5621, allocations: 1.556 MB / 1.049 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5621, allocations: 0 / 1.049 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.5655, allocations: 0.8907 MB / 1.05 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.5662, allocations: 259.8 kB / 1.05 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.5664, allocations: 16 kB / 1.05 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5675, allocations: 67.95 kB / 1.05 GB, free: 5.586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.5678, allocations: 60.91 kB / 1.05 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.5679, allocations: 27.98 kB / 1.05 GB, free: 5.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008729/0.5688, allocations: 406.8 kB / 1.05 GB, free: 5.105 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/0.5688, allocations: 0 / 1.05 GB, free: 5.105 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001215/0.57, allocations: 259.3 kB / 1.051 GB, free: 4.852 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.001803/0.5718, allocations: 0.5611 MB / 1.051 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002577/0.5745, allocations: 0.7045 MB / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5745, allocations: 0 / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.5761, allocations: 476.3 kB / 1.052 GB, free: 3.273 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.578, allocations: 242.8 kB / 1.053 GB, free: 3.043 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/0.5848, allocations: 1.958 MB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/0.5857, allocations: 1.011 MB / 1.056 GB, free: 20 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.6147/1.2, allocations: 247.7 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/1.201, allocations: 88.81 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.201, allocations: 1.562 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of Templates: time 0.03824/1.239, allocations: 12.18 MB / 1.068 GB, free: 151.7 MB / 0.698 GB