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 2.429/2.429, allocations: 287.9 MB / 302.9 MB, free: 8.367 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.001452/0.001452, allocations: 186.3 kB / 371.4 MB, free: 10.68 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.114/2.114, allocations: 205.4 MB / 0.6301 GB, free: 10.33 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.001033/0.001033, allocations: 96.88 kB / 0.7434 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004903, allocations: 9.625 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00581/0.1663, allocations: 5.105 MB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8432/1.01, allocations: 128.1 MB / 1.109 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/1.011, allocations: 17.66 kB / 1.109 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/1.011, allocations: 120.4 kB / 1.109 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/1.013, allocations: 0.5506 MB / 1.109 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/1.015, allocations: 0.9108 MB / 1.11 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002143/1.018, allocations: 1.349 MB / 1.112 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.019, allocations: 1.113 MB / 1.113 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/1.021, allocations: 0.6913 MB / 1.113 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/1.022, allocations: 0.7469 MB / 1.114 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/1.022, allocations: 55.91 kB / 1.114 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009982/1.023, allocations: 302.2 kB / 1.115 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004105/1.023, allocations: 341.8 kB / 1.115 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004389/1.024, allocations: 353.2 kB / 1.115 GB, free: 17.03 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/1.027, allocations: 2.3 MB / 1.117 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.394e-06/1.027, allocations: 5.5 kB / 1.117 GB, free: 16.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.922e-06/1.027, allocations: 0 / 1.117 GB, free: 16.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.868e-05/1.027, allocations: 0 / 1.117 GB, free: 16.88 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005106/1.032, allocations: 2.078 MB / 1.119 GB, free: 15.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/1.032, allocations: 13.47 kB / 1.119 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/1.049, allocations: 2.192 MB / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/1.053, allocations: 1.14 MB / 1.123 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/1.053, allocations: 159.2 kB / 1.123 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004629/1.053, allocations: 199.9 kB / 1.123 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/1.065, allocations: 3.08 MB / 1.126 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.568e-05/1.065, allocations: 0 / 1.126 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006371/1.066, allocations: 88.12 kB / 1.126 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/1.066, allocations: 52.97 kB / 1.126 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/1.094, allocations: 4.071 MB / 1.13 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03527/1.13, allocations: 6.608 MB / 1.137 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/1.141, allocations: 2.744 MB / 1.139 GB, free: 9.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.142, allocations: 0.5052 MB / 1.14 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006358/1.149, allocations: 1.629 MB / 1.141 GB, free: 8.551 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 6.197e-06/1.149, allocations: 0 / 1.141 GB, free: 8.551 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01861/1.167, allocations: 4.048 MB / 1.145 GB, free: 7.586 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.167, allocations: 201.6 kB / 1.146 GB, free: 7.363 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/1.169, allocations: 0.829 MB / 1.146 GB, free: 7.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005082/1.17, allocations: 58.39 kB / 1.146 GB, free: 7.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/1.17, allocations: 0.6927 MB / 1.147 GB, free: 6.633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.171, allocations: 0.6186 MB / 1.148 GB, free: 6.176 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/1.172, allocations: 29.31 kB / 1.148 GB, free: 6.176 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.172, allocations: 371.2 kB / 1.148 GB, free: 5.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00725/1.179, allocations: 1.121 MB / 1.149 GB, free: 5.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008878/1.188, allocations: 1.298 MB / 1.15 GB, free: 5.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/1.194, allocations: 1.164 MB / 1.152 GB, free: 5.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/1.194, allocations: 0 / 1.152 GB, free: 5.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01222/1.206, allocations: 2.803 MB / 1.154 GB, free: 4.473 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.206, allocations: 5.125 kB / 1.154 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.206, allocations: 2.531 kB / 1.154 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/1.207, allocations: 88.58 kB / 1.154 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/1.211, allocations: 0.5407 MB / 1.155 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/1.214, allocations: 1.538 MB / 1.156 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/1.217, allocations: 318.7 kB / 1.157 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/1.218, allocations: 92.02 kB / 1.157 GB, free: 2.73 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.001302/1.219, allocations: 405.1 kB / 1.157 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/1.219, allocations: 138.8 kB / 1.157 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.233, allocations: 3.387 MB / 1.161 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.233, allocations: 20.84 kB / 1.161 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.239e-06/1.233, allocations: 0 / 1.161 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-05/1.233, allocations: 11.92 kB / 1.161 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.25, allocations: 5.588 MB / 1.166 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.25, allocations: 0 / 1.166 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004068/1.254, allocations: 0.5319 MB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006052/1.254, allocations: 81.19 kB / 1.167 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/1.255, allocations: 72.53 kB / 1.167 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/1.257, allocations: 1.554 MB / 1.168 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.318e-06/1.257, allocations: 0 / 1.168 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.268, allocations: 2.949 MB / 1.171 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.27, allocations: 0.5256 MB / 1.172 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/1.27, allocations: 43.98 kB / 1.172 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.273, allocations: 243.8 kB / 1.172 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.273, allocations: 129.8 kB / 1.172 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002993/1.274, allocations: 75.92 kB / 1.172 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001236/1.275, allocations: 0.6146 MB / 1.173 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.673e-06/1.275, allocations: 0 / 1.173 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002115/1.277, allocations: 0.5625 MB / 1.173 GB, free: 11.13 MB / 0.7136 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.002071/1.279, allocations: 0.5999 MB / 1.174 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.291, allocations: 2.845 MB / 1.177 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.939e-06/1.291, allocations: 0 / 1.177 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006256/1.297, allocations: 1.603 MB / 1.178 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.3, allocations: 281.2 kB / 1.179 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/1.322, allocations: 4.667 MB / 1.183 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/1.325, allocations: 1.398 MB / 1.184 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008475/1.333, allocations: 0.5348 MB / 1.185 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/1.336, allocations: 215.2 kB / 1.185 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.851e-06/1.336, allocations: 0 / 1.185 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.06609/1.402, allocations: 25.05 MB / 1.21 GB, free: 6.168 MB / 0.7448 GB