Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.547/2.547, 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.002194/0.002194, allocations: 174.9 kB / 371.4 MB, free: 10.71 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 2.181/2.181, allocations: 205.4 MB / 0.6301 GB, free: 10.45 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.001026/0.001026, allocations: 108.3 kB / 0.7434 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 15.31 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1899, allocations: 115.3 MB / 0.9787 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004883/0.1948, allocations: 4.193 MB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7041/0.8989, allocations: 127.5 MB / 1.107 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008218/0.8998, allocations: 20.25 kB / 1.107 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.9002, allocations: 86.48 kB / 1.107 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.902, allocations: 0.5103 MB / 1.108 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.9045, allocations: 0.6833 MB / 1.109 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.9064, allocations: 0.9529 MB / 1.11 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.9078, allocations: 0.8777 MB / 1.11 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000955/0.9088, allocations: 437.4 kB / 1.111 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.9095, allocations: 440.2 kB / 1.111 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.9097, allocations: 31.53 kB / 1.111 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.9106, allocations: 252.1 kB / 1.112 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.9109, allocations: 229.2 kB / 1.112 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.9112, allocations: 263.2 kB / 1.112 GB, free: 16.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.9136, allocations: 1.626 MB / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.9137, allocations: 0 / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.181e-06/0.9137, allocations: 0 / 1.114 GB, free: 16.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.9137, allocations: 0 / 1.114 GB, free: 16.85 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00316/0.9169, allocations: 1.489 MB / 1.115 GB, free: 15.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.9169, allocations: 12.89 kB / 1.115 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.9182, allocations: 259.9 kB / 1.115 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.92, allocations: 0.8695 MB / 1.116 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.9202, allocations: 136.6 kB / 1.116 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.9205, allocations: 138.4 kB / 1.116 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/0.9239, allocations: 1.411 MB / 1.118 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.924, allocations: 0 / 1.118 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.9242, allocations: 61.16 kB / 1.118 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.9242, allocations: 39.66 kB / 1.118 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.9277, allocations: 1.46 MB / 1.119 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008695/0.9364, allocations: 3.788 MB / 1.123 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.9387, allocations: 0.9146 MB / 1.124 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.9388, allocations: 41.86 kB / 1.124 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.9401, allocations: 0.5452 MB / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 4.303e-06/0.9401, allocations: 0 / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.004175/0.9443, allocations: 1.383 MB / 1.126 GB, free: 13.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.9445, allocations: 196 kB / 1.126 GB, free: 13.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.9459, allocations: 0.7381 MB / 1.127 GB, free: 13.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.9461, allocations: 42.73 kB / 1.127 GB, free: 13.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.9467, allocations: 0.5833 MB / 1.127 GB, free: 13.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.9471, allocations: 310.2 kB / 1.128 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.9472, allocations: 15.56 kB / 1.128 GB, free: 13.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.9474, allocations: 343.5 kB / 1.128 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/0.9483, allocations: 312 kB / 1.128 GB, free: 12.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.9493, allocations: 433.4 kB / 1.129 GB, free: 12.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009135/0.9503, allocations: 368.2 kB / 1.129 GB, free: 12.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.516e-06/0.9503, allocations: 0 / 1.129 GB, free: 12.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002956/0.9533, allocations: 0.9764 MB / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9533, allocations: 5.625 kB / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.9533, allocations: 5.047 kB / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.954, allocations: 83.31 kB / 1.13 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.9551, allocations: 196.1 kB / 1.13 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.9578, allocations: 1.55 MB / 1.132 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.959, allocations: 101.8 kB / 1.132 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.9592, allocations: 38.77 kB / 1.132 GB, free: 10.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0008613/0.9601, allocations: 320.9 kB / 1.132 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.9604, allocations: 97.3 kB / 1.132 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.9642, allocations: 1.309 MB / 1.134 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.9642, allocations: 10.03 kB / 1.134 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-06/0.9643, allocations: 0 / 1.134 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.9643, allocations: 6.078 kB / 1.134 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005982/0.9703, allocations: 2.492 MB / 1.136 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.831e-06/0.9703, allocations: 0 / 1.136 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.9714, allocations: 192.6 kB / 1.136 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/0.972, allocations: 87.08 kB / 1.136 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.9722, allocations: 25.86 kB / 1.136 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.9748, allocations: 1.579 MB / 1.138 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.537e-06/0.9749, allocations: 0 / 1.138 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.9781, allocations: 1.112 MB / 1.139 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/0.9789, allocations: 340.5 kB / 1.139 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.9792, allocations: 24.59 kB / 1.139 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/0.9802, allocations: 73.47 kB / 1.139 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.9804, allocations: 77.27 kB / 1.139 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.9806, allocations: 41.31 kB / 1.139 GB, free: 7.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001086/0.9817, allocations: 0.5451 MB / 1.14 GB, free: 7.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.27e-07/0.9817, allocations: 0 / 1.14 GB, free: 7.047 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001403/0.9831, allocations: 373.7 kB / 1.14 GB, free: 6.961 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 (107): * Single equations (assignments): 104 * 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.001951/0.9851, allocations: 0.5558 MB / 1.141 GB, free: 6.723 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002518/0.9876, allocations: 0.9277 MB / 1.142 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.11e-06/0.9877, allocations: 6.906 kB / 1.142 GB, free: 6.477 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.9891, allocations: 0.5814 MB / 1.142 GB, free: 6.281 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.9907, allocations: 264.7 kB / 1.143 GB, free: 6.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.9977, allocations: 2.913 MB / 1.146 GB, free: 4.555 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.9989, allocations: 1.192 MB / 1.147 GB, free: 3.637 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001552/1.001, allocations: 290.4 kB / 1.147 GB, free: 3.496 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/1.001, allocations: 121.6 kB / 1.147 GB, free: 3.473 MB / 0.698 GB Notification: Performance of SimCode: time 2.963e-06/1.001, allocations: 0 / 1.147 GB, free: 3.473 MB / 0.698 GB Notification: Performance of Templates: time 0.04092/1.042, allocations: 15.61 MB / 1.162 GB, free: 11.65 MB / 0.7136 GB