Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.488/2.488, allocations: 253.2 MB / 260.6 MB, free: 7.441 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.001565/0.001566, allocations: 177 kB / 319.9 MB, free: 3.055 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.196/2.196, allocations: 205.6 MB / 0.5709 GB, free: 15.26 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.001062/0.001062, allocations: 86.72 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.112e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.289/7.504, allocations: 2.19 GB / 3.079 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/7.504, allocations: 94.61 kB / 3.079 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2269/7.731, allocations: 61.58 MB / 3.139 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.963e-06/7.731, allocations: 0 / 3.139 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.534e-05/7.731, allocations: 23.94 kB / 3.139 GB, free: 119.7 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002243/7.734, allocations: 1.031 MB / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/7.734, allocations: 16.02 kB / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/7.735, allocations: 202.5 kB / 3.14 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/7.737, allocations: 0.6037 MB / 3.141 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/7.737, allocations: 27.94 kB / 3.141 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/7.737, allocations: 44 kB / 3.141 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002086/7.739, allocations: 0.9796 MB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/7.741, allocations: 0.7309 MB / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/7.741, allocations: 0 / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/7.741, allocations: 0 / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/7.741, allocations: 20 kB / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/7.746, allocations: 2.267 MB / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/7.749, allocations: 0.7241 MB / 3.146 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/7.749, allocations: 251.2 kB / 3.146 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/7.749, allocations: 32.8 kB / 3.146 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/7.75, allocations: 412.9 kB / 3.146 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.797e-06/7.75, allocations: 0 / 3.146 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002493/7.753, allocations: 0.6603 MB / 3.147 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/7.753, allocations: 252 kB / 3.147 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/7.754, allocations: 0.4905 MB / 3.148 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/7.754, allocations: 29.69 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/7.754, allocations: 364.3 kB / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/7.755, allocations: 236.4 kB / 3.148 GB, free: 110 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/7.755, allocations: 0 / 3.148 GB, free: 110 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/7.755, allocations: 374.8 kB / 3.149 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/7.755, allocations: 197.5 kB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/7.756, allocations: 299.5 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/7.756, allocations: 248.3 kB / 3.149 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/7.756, allocations: 0 / 3.149 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002295/7.759, allocations: 0.6603 MB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/7.759, allocations: 8 kB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/7.759, allocations: 0 / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009686/7.76, allocations: 80.84 kB / 3.15 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/7.761, allocations: 147.8 kB / 3.15 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/7.763, allocations: 1.461 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/7.764, allocations: 67.58 kB / 3.152 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/7.765, allocations: 27.98 kB / 3.152 GB, free: 106.3 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 (75): * Single equations (assignments): 74 * 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.0002396/7.765, allocations: 120 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/7.765, allocations: 71.11 kB / 3.152 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/7.768, allocations: 0.9262 MB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/7.768, allocations: 8 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/7.768, allocations: 0 / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/7.768, allocations: 3.984 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/7.77, allocations: 0.7597 MB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/7.77, allocations: 4 kB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/7.771, allocations: 151.8 kB / 3.154 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000849/7.772, allocations: 80.78 kB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/7.772, allocations: 15.98 kB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/7.774, allocations: 1.492 MB / 3.155 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/7.774, allocations: 8.047 kB / 3.155 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/7.776, allocations: 0.766 MB / 3.156 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/7.777, allocations: 279.8 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/7.777, allocations: 4 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/7.778, allocations: 55.94 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/7.778, allocations: 60.69 kB / 3.156 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/7.778, allocations: 35.94 kB / 3.156 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006959/7.779, allocations: 398.9 kB / 3.157 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.433e-06/7.779, allocations: 4 kB / 3.157 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001474/7.781, allocations: 299.1 kB / 3.157 GB, free: 100.6 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.002285/7.783, allocations: 1.057 MB / 3.158 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00194/7.785, allocations: 0.6591 MB / 3.159 GB, free: 98.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/7.785, allocations: 4 kB / 3.159 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/7.786, allocations: 448.6 kB / 3.159 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/7.788, allocations: 219.5 kB / 3.159 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/7.793, allocations: 1.27 MB / 3.161 GB, free: 96.99 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/7.794, allocations: 1.019 MB / 3.162 GB, free: 95.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001521/7.795, allocations: 253.8 kB / 3.162 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/7.795, allocations: 99.38 kB / 3.162 GB, free: 95.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/7.796, allocations: 0 / 3.162 GB, free: 95.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.04026/7.836, allocations: 15.49 MB / 3.177 GB, free: 80.25 MB / 0.8698 GB