Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.423/5.423, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002369/0.002369, allocations: 358.5 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.973/3.973, allocations: 410.7 MB / 1.112 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001855/0.001855, allocations: 179.7 kB / 1.225 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005087, allocations: 12 kB / 1.348 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6574, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006297/0.6638, allocations: 5.212 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1434/0.8073, allocations: 137.2 MB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.8086, allocations: 19.88 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.8091, allocations: 122.8 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.8114, allocations: 0.5083 MB / 1.6 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.8143, allocations: 0.8986 MB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.817, allocations: 2.028 MB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.8187, allocations: 1.113 MB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.8199, allocations: 0.657 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009625/0.8209, allocations: 0.7773 MB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.8211, allocations: 56 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000883/0.822, allocations: 323.6 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.8223, allocations: 342.4 kB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.8227, allocations: 356.5 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.825, allocations: 2.283 MB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.618e-06/0.8251, allocations: 4 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.228e-06/0.8251, allocations: 0 / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.263e-05/0.8252, allocations: 0 / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004803/0.83, allocations: 2.074 MB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.83, allocations: 15.62 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.8474, allocations: 2.19 MB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.8499, allocations: 1.149 MB / 1.614 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.8501, allocations: 152.2 kB / 1.614 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.8505, allocations: 200 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.8606, allocations: 3.089 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.113e-05/0.8607, allocations: 3.938 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.8611, allocations: 88 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.8611, allocations: 55.89 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.876, allocations: 4.075 MB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.8937, allocations: 6.598 MB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.9047, allocations: 2.737 MB / 1.631 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004889/0.9096, allocations: 1.368 MB / 1.632 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.9104, allocations: 0.5112 MB / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005526/0.916, allocations: 1.634 MB / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=192): time 6.531e-06/0.916, allocations: 0 / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192): time 0.01703/0.9331, allocations: 4.048 MB / 1.638 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.9332, allocations: 201.9 kB / 1.638 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.9345, allocations: 0.8361 MB / 1.639 GB, free: 101 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004056/0.9349, allocations: 53.7 kB / 1.639 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.9354, allocations: 0.6838 MB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.9363, allocations: 0.6198 MB / 1.641 GB, free: 99.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.9365, allocations: 36 kB / 1.641 GB, free: 99.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9366, allocations: 369.9 kB / 1.641 GB, free: 99.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004763/0.9414, allocations: 1.136 MB / 1.642 GB, free: 98.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.9464, allocations: 1.309 MB / 1.643 GB, free: 96.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/0.9513, allocations: 1.181 MB / 1.645 GB, free: 95.56 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.9514, allocations: 7.953 kB / 1.645 GB, free: 95.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01127/0.9626, allocations: 2.843 MB / 1.647 GB, free: 92.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.9627, allocations: 8.031 kB / 1.647 GB, free: 92.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.9627, allocations: 3.938 kB / 1.647 GB, free: 92.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.9634, allocations: 92.77 kB / 1.647 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/0.9679, allocations: 0.55 MB / 1.648 GB, free: 92.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.9701, allocations: 1.516 MB / 1.649 GB, free: 90.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.9734, allocations: 326.4 kB / 1.65 GB, free: 90.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000458/0.9739, allocations: 92.05 kB / 1.65 GB, free: 89.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 211 * 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.001128/0.975, allocations: 415.6 kB / 1.65 GB, free: 89.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.9754, allocations: 138.2 kB / 1.65 GB, free: 89.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.9888, allocations: 3.382 MB / 1.654 GB, free: 86.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.9889, allocations: 27.89 kB / 1.654 GB, free: 86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.997e-06/0.9889, allocations: 0 / 1.654 GB, free: 86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/0.9889, allocations: 11.95 kB / 1.654 GB, free: 85.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.006, allocations: 5.58 MB / 1.659 GB, free: 80.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.006, allocations: 7.938 kB / 1.659 GB, free: 80.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004287/1.01, allocations: 0.5227 MB / 1.66 GB, free: 79.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006998/1.011, allocations: 84.78 kB / 1.66 GB, free: 79.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004534/1.011, allocations: 67.92 kB / 1.66 GB, free: 79.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.013, allocations: 1.552 MB / 1.661 GB, free: 77.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-06/1.013, allocations: 0 / 1.661 GB, free: 77.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.025, allocations: 2.941 MB / 1.664 GB, free: 75.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.026, allocations: 0.5257 MB / 1.665 GB, free: 74.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/1.026, allocations: 36 kB / 1.665 GB, free: 74.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/1.03, allocations: 254.7 kB / 1.665 GB, free: 74.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/1.03, allocations: 121.8 kB / 1.665 GB, free: 74.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003344/1.03, allocations: 83.98 kB / 1.665 GB, free: 73.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001222/1.032, allocations: 0.6107 MB / 1.666 GB, free: 73.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.19e-07/1.032, allocations: 0 / 1.666 GB, free: 73.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002301/1.034, allocations: 0.5685 MB / 1.666 GB, free: 72.79 MB / 0.8542 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 (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.002188/1.036, allocations: 0.5961 MB / 1.667 GB, free: 72.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.049, allocations: 2.882 MB / 1.67 GB, free: 69.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.812e-06/1.049, allocations: 0 / 1.67 GB, free: 69.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007243/1.056, allocations: 1.611 MB / 1.671 GB, free: 67.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.058, allocations: 312.9 kB / 1.672 GB, free: 67.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.07, allocations: 4.669 MB / 1.676 GB, free: 62.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/1.071, allocations: 1.4 MB / 1.678 GB, free: 61.45 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005151/1.077, allocations: 0.5373 MB / 1.678 GB, free: 60.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.078, allocations: 215.2 kB / 1.678 GB, free: 60.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.26e-06/1.078, allocations: 0 / 1.678 GB, free: 60.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.05353/1.132, allocations: 25.06 MB / 1.703 GB, free: 35.95 MB / 0.8542 GB