Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002169/0.002173, allocations: 184.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7622/0.7622, allocations: 82.92 MB / 99.42 MB, free: 3.301 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 325.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001054, allocations: 100.3 kB / 393.6 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007823/0.0007825, allocations: 12 kB / 471.5 MB, free: 66.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1001, allocations: 67.45 MB / 0.5264 GB, free: 15.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008189/0.1083, allocations: 5.083 MB / 0.5313 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5431/0.6515, allocations: 128.1 MB / 0.6564 GB, free: 3.992 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.6527, allocations: 23.88 kB / 0.6564 GB, free: 3.984 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.6532, allocations: 114.2 kB / 0.6566 GB, free: 3.879 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.6554, allocations: 0.5648 MB / 0.6571 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.6584, allocations: 0.9031 MB / 0.658 GB, free: 2.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.6614, allocations: 1.344 MB / 0.6593 GB, free: 1.852 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.6635, allocations: 1.115 MB / 0.6604 GB, free: 1.191 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.6649, allocations: 0.6853 MB / 0.6611 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.6663, allocations: 0.7512 MB / 0.6618 GB, free: 324 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.6668, allocations: 57.12 kB / 0.6618 GB, free: 324 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.668, allocations: 305.8 kB / 0.6621 GB, free: 204 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.6686, allocations: 344.9 kB / 0.6625 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.6691, allocations: 349.7 kB / 0.6628 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.6724, allocations: 2.295 MB / 0.665 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.458e-06/0.6725, allocations: 0 / 0.665 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.761e-06/0.6725, allocations: 3.938 kB / 0.665 GB, free: 13.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.677e-05/0.6725, allocations: 0 / 0.665 GB, free: 13.98 MB / 458.7 MB 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.005551/0.6781, allocations: 2.065 MB / 0.6671 GB, free: 12.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6782, allocations: 7.781 kB / 0.6671 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/0.6958, allocations: 2.209 MB / 0.6692 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.6987, allocations: 1.137 MB / 0.6703 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.6989, allocations: 159.5 kB / 0.6705 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.6994, allocations: 200.5 kB / 0.6707 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.7103, allocations: 3.078 MB / 0.6737 GB, free: 8.238 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/0.7104, allocations: 7.938 kB / 0.6737 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.7107, allocations: 84 kB / 0.6738 GB, free: 8.148 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.7108, allocations: 52 kB / 0.6738 GB, free: 8.098 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.7271, allocations: 4.071 MB / 0.6778 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.7465, allocations: 6.613 MB / 0.6843 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.7579, allocations: 2.741 MB / 0.6869 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/0.759, allocations: 0.5071 MB / 0.6874 GB, free: 9.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006261/0.7653, allocations: 1.625 MB / 0.689 GB, free: 8.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=192): time 6.401e-06/0.7653, allocations: 3.938 kB / 0.689 GB, free: 8.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=192): time 0.01901/0.7844, allocations: 4.042 MB / 0.693 GB, free: 4.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.7846, allocations: 205.9 kB / 0.6932 GB, free: 4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.7865, allocations: 0.8256 MB / 0.694 GB, free: 3.148 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007096/0.7872, allocations: 61.7 kB / 0.694 GB, free: 3.082 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.7885, allocations: 0.6956 MB / 0.6947 GB, free: 2.375 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001824/0.7904, allocations: 0.6197 MB / 0.6953 GB, free: 1.746 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.7909, allocations: 32 kB / 0.6953 GB, free: 1.715 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003423/0.7912, allocations: 369.9 kB / 0.6957 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008681/0.7999, allocations: 1.12 MB / 0.6968 GB, free: 232 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009363/0.8094, allocations: 1.3 MB / 0.6981 GB, free: 14.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.82, allocations: 1.162 MB / 0.6992 GB, free: 13.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.8201, allocations: 4 kB / 0.6992 GB, free: 13.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01304/0.8332, allocations: 2.796 MB / 0.7019 GB, free: 10.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8332, allocations: 8.031 kB / 0.7019 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.8332, allocations: 4 kB / 0.7019 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.834, allocations: 88.77 kB / 0.702 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.8388, allocations: 0.5422 MB / 0.7026 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.8417, allocations: 1.544 MB / 0.7041 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.8452, allocations: 325.8 kB / 0.7044 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005461/0.8458, allocations: 87.89 kB / 0.7045 GB, free: 8.195 MB / 490.7 MB 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.001448/0.8472, allocations: 397.4 kB / 0.7048 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.8477, allocations: 134.3 kB / 0.705 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.8631, allocations: 3.398 MB / 0.7083 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.8632, allocations: 20 kB / 0.7083 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.8632, allocations: 0 / 0.7083 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.499e-05/0.8633, allocations: 7.969 kB / 0.7083 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.883, allocations: 5.58 MB / 0.7138 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.8831, allocations: 0 / 0.7138 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004372/0.8875, allocations: 0.5266 MB / 0.7143 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006608/0.8882, allocations: 88.77 kB / 0.7144 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004514/0.8886, allocations: 67.92 kB / 0.7144 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.8912, allocations: 1.559 MB / 0.7159 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.095e-06/0.8913, allocations: 7.922 kB / 0.716 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.9038, allocations: 2.941 MB / 0.7188 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.9054, allocations: 0.5334 MB / 0.7193 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004513/0.9059, allocations: 36 kB / 0.7194 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/0.9089, allocations: 243.8 kB / 0.7196 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/0.9094, allocations: 130 kB / 0.7197 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/0.9097, allocations: 79.98 kB / 0.7198 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001259/0.911, allocations: 0.6146 MB / 0.7204 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.27e-07/0.911, allocations: 0 / 0.7204 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002181/0.9132, allocations: 0.5569 MB / 0.721 GB, free: 7.012 MB / 0.4948 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.002112/0.9153, allocations: 0.5965 MB / 0.7215 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0117/0.9271, allocations: 2.847 MB / 0.7243 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.824e-06/0.9271, allocations: 0 / 0.7243 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/0.9334, allocations: 1.607 MB / 0.7259 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.9353, allocations: 283.8 kB / 0.7262 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.9486, allocations: 4.662 MB / 0.7307 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.9501, allocations: 1.404 MB / 0.7321 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004761/0.9549, allocations: 0.5348 MB / 0.7326 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.9564, allocations: 211.2 kB / 0.7328 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.597e-06/0.9564, allocations: 0 / 0.7328 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.07123/1.028, allocations: 25.04 MB / 0.7573 GB, free: 1.969 MB / 0.5261 GB