Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.298/2.298, allocations: 252.6 MB / 265.2 MB, free: 5.688 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.00145/0.00145, allocations: 187.8 kB / 324.5 MB, free: 14.41 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 1.961/1.961, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.001146/0.001146, allocations: 93.75 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.331e-05/4.344e-05, allocations: 8 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.427/7.656, allocations: 2.194 GB / 3.089 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/7.657, allocations: 84.39 kB / 3.089 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.46/8.117, allocations: 97.25 MB / 3.184 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/8.117, allocations: 0 / 3.184 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001671/8.117, allocations: 47.98 kB / 3.184 GB, free: 40.56 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.007482/8.124, allocations: 1.847 MB / 3.186 GB, free: 38.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/8.124, allocations: 12.03 kB / 3.186 GB, free: 38.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02906/8.154, allocations: 1.8 MB / 3.188 GB, free: 36.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/8.158, allocations: 1.036 MB / 3.189 GB, free: 35.76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/8.158, allocations: 139.8 kB / 3.189 GB, free: 35.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/8.159, allocations: 180 kB / 3.189 GB, free: 35.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00931/8.168, allocations: 2.337 MB / 3.191 GB, free: 33.06 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.339e-05/8.169, allocations: 0 / 3.191 GB, free: 33.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/8.169, allocations: 80 kB / 3.191 GB, free: 32.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/8.169, allocations: 44 kB / 3.191 GB, free: 32.94 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009064/8.178, allocations: 2.872 MB / 3.194 GB, free: 30.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/8.202, allocations: 6.247 MB / 3.2 GB, free: 23.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/8.208, allocations: 2.015 MB / 3.202 GB, free: 21.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/8.211, allocations: 1.04 MB / 3.203 GB, free: 20.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/8.212, allocations: 0.5033 MB / 3.204 GB, free: 20.08 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003778/8.216, allocations: 1.289 MB / 3.205 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 6.041e-06/8.216, allocations: 0 / 3.205 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.007947/8.224, allocations: 2.063 MB / 3.207 GB, free: 16.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/8.224, allocations: 257.3 kB / 3.207 GB, free: 16.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/8.226, allocations: 0.7589 MB / 3.208 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007196/8.227, allocations: 61.7 kB / 3.208 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/8.228, allocations: 0.6295 MB / 3.209 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/8.229, allocations: 0.6198 MB / 3.209 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/8.229, allocations: 36 kB / 3.209 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/8.229, allocations: 361.9 kB / 3.21 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/8.232, allocations: 0.7811 MB / 3.21 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/8.235, allocations: 0.9658 MB / 3.211 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/8.238, allocations: 0.8258 MB / 3.212 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/8.238, allocations: 0 / 3.212 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008624/8.247, allocations: 2.117 MB / 3.214 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/8.247, allocations: 11.94 kB / 3.214 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/8.247, allocations: 0 / 3.214 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/8.248, allocations: 88.88 kB / 3.214 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006966/8.255, allocations: 0.5343 MB / 3.215 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/8.258, allocations: 1.517 MB / 3.216 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005263/8.263, allocations: 314.5 kB / 3.217 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007743/8.264, allocations: 87.91 kB / 3.217 GB, free: 6.477 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0008332/8.265, allocations: 203 kB / 3.217 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/8.265, allocations: 142.3 kB / 3.217 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/8.277, allocations: 2.706 MB / 3.22 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/8.277, allocations: 20 kB / 3.22 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/8.277, allocations: 0 / 3.22 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-05/8.277, allocations: 11.95 kB / 3.22 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6708/8.948, allocations: 4.872 MB / 3.224 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/8.948, allocations: 0.7969 kB / 3.224 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006952/8.955, allocations: 0.5207 MB / 3.225 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009441/8.956, allocations: 90.31 kB / 3.225 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006674/8.957, allocations: 69.78 kB / 3.225 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/8.959, allocations: 1.54 MB / 3.227 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/8.959, allocations: 1.438 kB / 3.227 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008636/8.968, allocations: 2.265 MB / 3.229 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/8.97, allocations: 0.535 MB / 3.229 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006675/8.971, allocations: 35.66 kB / 3.229 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00523/8.976, allocations: 245.6 kB / 3.23 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006844/8.977, allocations: 129.3 kB / 3.23 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004662/8.977, allocations: 82.59 kB / 3.23 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001562/8.979, allocations: 0.6374 MB / 3.23 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.82e-07/8.979, allocations: 3.938 kB / 3.23 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003628/8.983, allocations: 0.6046 MB / 3.231 GB, free: 259.4 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 (206): * Single equations (assignments): 203 * 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.003333/8.986, allocations: 1.025 MB / 3.232 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008302/8.994, allocations: 2.175 MB / 3.234 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/8.994, allocations: 4.969 kB / 3.234 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/8.999, allocations: 1.257 MB / 3.235 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/9.002, allocations: 276.3 kB / 3.236 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/9.013, allocations: 2.761 MB / 3.238 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/9.014, allocations: 1.361 MB / 3.24 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006082/9.02, allocations: 0.5515 MB / 3.24 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/9.022, allocations: 207.3 kB / 3.24 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/9.022, allocations: 0 / 3.24 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.09327/9.116, allocations: 34.03 MB / 3.274 GB, free: 255.7 MB / 0.8698 GB