Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.209/2.209, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001599/0.001599, allocations: 187.7 kB / 325.6 MB, free: 2.816 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.555/2.555, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001201/0.001201, allocations: 104.5 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 9.062 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006336/0.2125, allocations: 4.213 MB / 0.903 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2194/0.4319, allocations: 127.5 MB / 1.028 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.4331, allocations: 15.94 kB / 1.028 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.4337, allocations: 83.19 kB / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.4363, allocations: 0.5124 MB / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.4395, allocations: 0.6911 MB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.4422, allocations: 0.9462 MB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.4441, allocations: 0.8674 MB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.4453, allocations: 449.9 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009239/0.4463, allocations: 437.4 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.4465, allocations: 28 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.4476, allocations: 251.6 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.448, allocations: 226.9 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.4485, allocations: 268.9 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.4517, allocations: 1.625 MB / 1.034 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4518, allocations: 0 / 1.034 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.066e-06/0.4518, allocations: 0 / 1.034 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.791e-05/0.4519, allocations: 0 / 1.034 GB, free: 7.441 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.005883/0.4578, allocations: 1.486 MB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.4579, allocations: 16.03 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.4599, allocations: 241.8 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.4624, allocations: 0.872 MB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.4627, allocations: 136.6 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.4631, allocations: 139.9 kB / 1.037 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/0.4679, allocations: 1.409 MB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.468, allocations: 7.984 kB / 1.038 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.4683, allocations: 63.94 kB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.4683, allocations: 36 kB / 1.038 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004939/0.4733, allocations: 1.459 MB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.4878, allocations: 3.785 MB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.4909, allocations: 0.9075 MB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.4912, allocations: 41.02 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/0.4932, allocations: 0.5398 MB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 1.083e-05/0.4933, allocations: 3.938 kB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.01104/0.5044, allocations: 1.382 MB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/0.5046, allocations: 196.9 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.5074, allocations: 0.7393 MB / 1.047 GB, free: 9.652 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.5077, allocations: 41.7 kB / 1.047 GB, free: 9.605 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/0.5085, allocations: 0.5854 MB / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005461/0.5091, allocations: 311.4 kB / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.5092, allocations: 19.94 kB / 1.048 GB, free: 8.684 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.5094, allocations: 341.9 kB / 1.048 GB, free: 8.344 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.5106, allocations: 305.8 kB / 1.048 GB, free: 8.043 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.5119, allocations: 427.4 kB / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5133, allocations: 374.8 kB / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5134, allocations: 0 / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004059/0.5174, allocations: 0.9775 MB / 1.05 GB, free: 6.242 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5175, allocations: 6.188 kB / 1.05 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.5176, allocations: 4 kB / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.5186, allocations: 88.81 kB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.5204, allocations: 195.7 kB / 1.05 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.5237, allocations: 1.538 MB / 1.052 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.5252, allocations: 113.2 kB / 1.052 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5254, allocations: 35.97 kB / 1.052 GB, free: 4.137 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.001011/0.5264, allocations: 309.7 kB / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.5268, allocations: 94.84 kB / 1.052 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006161/0.533, allocations: 1.317 MB / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/0.5331, allocations: 12 kB / 1.054 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5331, allocations: 0 / 1.054 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/0.5331, allocations: 7.969 kB / 1.054 GB, free: 2.375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6528/1.186, allocations: 2.494 MB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.186, allocations: 2.484 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.188, allocations: 177.8 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/1.189, allocations: 87.88 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/1.189, allocations: 35.22 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/1.193, allocations: 1.565 MB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.193, allocations: 2.109 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/1.196, allocations: 1.116 MB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.197, allocations: 342.8 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.197, allocations: 19.66 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.199, allocations: 78.8 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.199, allocations: 80.14 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.199, allocations: 37.33 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001096/1.2, allocations: 0.5475 MB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.2, allocations: 0 / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00137/1.201, allocations: 373 kB / 1.061 GB, free: 152.7 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.001646/1.203, allocations: 0.5692 MB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002818/1.206, allocations: 0.93 MB / 1.062 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.206, allocations: 0 / 1.062 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.208, allocations: 0.5874 MB / 1.063 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.21, allocations: 253.8 kB / 1.063 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008274/1.218, allocations: 2.914 MB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/1.219, allocations: 1.197 MB / 1.067 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001955/1.221, allocations: 297.4 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/1.222, allocations: 122.8 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.222, allocations: 0 / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of Templates: time 0.05714/1.279, allocations: 15.6 MB / 1.082 GB, free: 144.9 MB / 0.698 GB