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.494/2.494, 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.001529/0.001529, allocations: 183.2 kB / 325.6 MB, free: 2.805 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.511/2.511, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001118/0.001117, allocations: 92.89 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 9.562 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007468/0.2355, allocations: 5.109 MB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1958/0.4314, allocations: 128.1 MB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.4329, allocations: 23.88 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.4338, allocations: 114.8 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.4372, allocations: 0.5591 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.4413, allocations: 0.8968 MB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.4458, allocations: 1.351 MB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004229/0.4501, allocations: 1.111 MB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.453, allocations: 0.6962 MB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.4557, allocations: 0.7462 MB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007554/0.4565, allocations: 56 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.4586, allocations: 299.7 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/0.4595, allocations: 350.5 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008091/0.4604, allocations: 348.6 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.4662, allocations: 2.295 MB / 1.038 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4663, allocations: 0 / 1.038 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4663, allocations: 0 / 1.038 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.828e-05/0.4664, allocations: 0 / 1.038 GB, free: 2.98 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.01143/0.4779, allocations: 2.07 MB / 1.04 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.4779, allocations: 8.031 kB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03802/0.516, allocations: 2.19 MB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.5195, allocations: 1.149 MB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5198, allocations: 164.1 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007785/0.5205, allocations: 196 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.5358, allocations: 3.078 MB / 1.046 GB, free: 9.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.121e-05/0.5359, allocations: 0 / 1.046 GB, free: 9.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006041/0.5365, allocations: 88 kB / 1.046 GB, free: 9.824 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/0.5366, allocations: 52 kB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.5597, allocations: 4.075 MB / 1.05 GB, free: 5.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6206/1.18, allocations: 6.603 MB / 1.057 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/1.197, allocations: 2.734 MB / 1.059 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.198, allocations: 0.5004 MB / 1.06 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008834/1.207, allocations: 1.63 MB / 1.062 GB, free: 150 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 7.674e-06/1.207, allocations: 0 / 1.062 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.02672/1.234, allocations: 4.044 MB / 1.066 GB, free: 149.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.234, allocations: 201.9 kB / 1.066 GB, free: 149.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/1.236, allocations: 0.8298 MB / 1.067 GB, free: 149.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006378/1.236, allocations: 58.36 kB / 1.067 GB, free: 149.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008232/1.237, allocations: 0.6958 MB / 1.067 GB, free: 149.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.239, allocations: 0.6206 MB / 1.068 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.239, allocations: 33.44 kB / 1.068 GB, free: 148.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.239, allocations: 367.2 kB / 1.068 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00758/1.247, allocations: 1.117 MB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009811/1.256, allocations: 1.3 MB / 1.071 GB, free: 148.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.267, allocations: 1.164 MB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/1.267, allocations: 1.156 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.02412/1.292, allocations: 2.802 MB / 1.074 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/1.292, allocations: 6.469 kB / 1.074 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/1.292, allocations: 3.141 kB / 1.074 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/1.293, allocations: 90.45 kB / 1.075 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009076/1.302, allocations: 0.539 MB / 1.075 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/1.306, allocations: 1.539 MB / 1.077 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00683/1.313, allocations: 321.9 kB / 1.077 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000862/1.314, allocations: 85.31 kB / 1.077 GB, free: 145.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * 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.002303/1.316, allocations: 393.1 kB / 1.077 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008359/1.317, allocations: 146.7 kB / 1.077 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02388/1.341, allocations: 3.391 MB / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.341, allocations: 19.22 kB / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.341, allocations: 0 / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/1.341, allocations: 7.734 kB / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/1.365, allocations: 5.599 MB / 1.086 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.365, allocations: 0 / 1.086 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006345/1.372, allocations: 0.5243 MB / 1.087 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008884/1.373, allocations: 91.73 kB / 1.087 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005275/1.373, allocations: 66.61 kB / 1.087 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/1.375, allocations: 1.566 MB / 1.088 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.376, allocations: 0 / 1.088 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/1.392, allocations: 2.947 MB / 1.091 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.394, allocations: 0.5225 MB / 1.092 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005893/1.394, allocations: 34.72 kB / 1.092 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/1.399, allocations: 252.1 kB / 1.092 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/1.4, allocations: 117.8 kB / 1.092 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003975/1.4, allocations: 83.92 kB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001201/1.401, allocations: 0.6146 MB / 1.093 GB, free: 136.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.401, allocations: 0 / 1.093 GB, free: 136.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002607/1.404, allocations: 0.5592 MB / 1.093 GB, free: 135.8 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 (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.002077/1.406, allocations: 0.6045 MB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01523/1.421, allocations: 2.853 MB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.421, allocations: 0 / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008051/1.429, allocations: 1.599 MB / 1.098 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.432, allocations: 282 kB / 1.099 GB, free: 130.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/1.447, allocations: 4.659 MB / 1.103 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.448, allocations: 1.396 MB / 1.105 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006032/1.454, allocations: 0.5464 MB / 1.105 GB, free: 124 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/1.456, allocations: 215.2 kB / 1.105 GB, free: 123.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.456, allocations: 0 / 1.105 GB, free: 123.8 MB / 0.698 GB Notification: Performance of Templates: time 0.06159/1.517, allocations: 25.06 MB / 1.13 GB, free: 98.84 MB / 0.698 GB