Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002422/0.002422, allocations: 353 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.443/1.443, allocations: 165.8 MB / 182.5 MB, free: 5.391 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.91/3.91, allocations: 410.8 MB / 0.5995 GB, free: 15.2 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00174/0.001739, allocations: 190.8 kB / 0.6662 GB, free: 6.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004568, allocations: 15.98 kB / 0.7423 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4418, allocations: 67.43 MB / 0.8082 GB, free: 28.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004173/0.4461, allocations: 3.593 MB / 0.8117 GB, free: 25.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.547/0.9931, allocations: 136.3 MB / 0.9448 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.9938, allocations: 15.69 kB / 0.9448 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.9941, allocations: 69.91 kB / 0.9449 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.9956, allocations: 389.5 kB / 0.9452 GB, free: 1.32 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.9976, allocations: 0.608 MB / 0.9458 GB, free: 1.309 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.9988, allocations: 1.047 MB / 0.9469 GB, free: 1.305 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008032/0.9996, allocations: 0.5116 MB / 0.9474 GB, free: 1.227 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/1, allocations: 300.5 kB / 0.9476 GB, free: 1.227 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/1.001, allocations: 321.1 kB / 0.948 GB, free: 1.184 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/1.001, allocations: 23.12 kB / 0.948 GB, free: 1.184 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008326/1.001, allocations: 286.3 kB / 0.9482 GB, free: 1.18 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/1.002, allocations: 168.9 kB / 0.9484 GB, free: 1.141 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/1.002, allocations: 187 kB / 0.9486 GB, free: 1.074 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/1.003, allocations: 1.083 MB / 0.9496 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.769e-06/1.003, allocations: 6.812 kB / 0.9497 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.343e-06/1.003, allocations: 1.969 kB / 0.9497 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/1.003, allocations: 0 / 0.9497 GB, free: 0.9805 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00215/1.005, allocations: 1.146 MB / 0.9508 GB, free: 264 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.005, allocations: 15.17 kB / 0.9508 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.007, allocations: 216.9 kB / 0.951 GB, free: 196 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.008, allocations: 0.6977 MB / 0.9517 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/1.008, allocations: 72.19 kB / 0.9517 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.008, allocations: 86 kB / 0.9518 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/1.01, allocations: 0.9301 MB / 0.9527 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.01, allocations: 0 / 0.9527 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.01, allocations: 39.5 kB / 0.9528 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/1.011, allocations: 21.78 kB / 0.9528 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/1.013, allocations: 1.114 MB / 0.9539 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005851/1.019, allocations: 2.549 MB / 0.9564 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/1.021, allocations: 0.7429 MB / 0.9571 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/1.022, allocations: 287.4 kB / 0.9574 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/1.022, allocations: 473.1 kB / 0.9578 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/1.024, allocations: 447 kB / 0.9582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=73): time 3.998e-06/1.024, allocations: 0 / 0.9582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.003725/1.027, allocations: 1.116 MB / 0.9593 GB, free: 14.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.028, allocations: 194.4 kB / 0.9595 GB, free: 13.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/1.028, allocations: 0.5774 MB / 0.9601 GB, free: 13.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/1.029, allocations: 41.42 kB / 0.9601 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/1.029, allocations: 398.4 kB / 0.9605 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.029, allocations: 242.4 kB / 0.9607 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/1.029, allocations: 18.75 kB / 0.9608 GB, free: 13.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/1.03, allocations: 380 kB / 0.9611 GB, free: 13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/1.03, allocations: 244.6 kB / 0.9614 GB, free: 13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/1.031, allocations: 345.9 kB / 0.9617 GB, free: 12.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/1.032, allocations: 283.8 kB / 0.962 GB, free: 12.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.602e-06/1.032, allocations: 4 kB / 0.962 GB, free: 12.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002323/1.034, allocations: 0.803 MB / 0.9627 GB, free: 12.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.034, allocations: 5.562 kB / 0.9627 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.034, allocations: 2.906 kB / 0.9627 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/1.035, allocations: 83.83 kB / 0.9628 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/1.036, allocations: 149.4 kB / 0.963 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/1.038, allocations: 1.53 MB / 0.9645 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/1.039, allocations: 92.52 kB / 0.9646 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/1.04, allocations: 32.84 kB / 0.9646 GB, free: 11.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0005802/1.04, allocations: 257.6 kB / 0.9648 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/1.04, allocations: 69.19 kB / 0.9649 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/1.043, allocations: 1.041 MB / 0.9659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.043, allocations: 6.219 kB / 0.9659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-06/1.043, allocations: 2.406 kB / 0.9659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.043, allocations: 6.625 kB / 0.9659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/1.045, allocations: 0.8533 MB / 0.9668 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.809e-06/1.045, allocations: 3.953 kB / 0.9668 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/1.045, allocations: 147.9 kB / 0.9669 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/1.046, allocations: 85.95 kB / 0.967 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/1.046, allocations: 21.86 kB / 0.967 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/1.049, allocations: 1.544 MB / 0.9685 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.049, allocations: 64 / 0.9685 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/1.051, allocations: 0.8616 MB / 0.9694 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/1.052, allocations: 271.4 kB / 0.9696 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.052, allocations: 23.33 kB / 0.9696 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/1.052, allocations: 69.09 kB / 0.9697 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.053, allocations: 59.31 kB / 0.9698 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/1.053, allocations: 34.48 kB / 0.9698 GB, free: 9.086 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006816/1.053, allocations: 430.8 kB / 0.9702 GB, free: 8.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.4e-07/1.053, allocations: 0 / 0.9702 GB, free: 8.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00103/1.054, allocations: 297.6 kB / 0.9705 GB, free: 8.871 MB / 490.7 MB 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.00184/1.056, allocations: 0.5516 MB / 0.971 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/1.058, allocations: 0.7703 MB / 0.9718 GB, free: 8.418 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.058, allocations: 3.156 kB / 0.9718 GB, free: 8.418 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.06, allocations: 0.4955 MB / 0.9723 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.061, allocations: 259.6 kB / 0.9725 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/1.066, allocations: 2.134 MB / 0.9746 GB, free: 6.957 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/1.067, allocations: 1.034 MB / 0.9756 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001303/1.068, allocations: 256.1 kB / 0.9759 GB, free: 5.992 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/1.069, allocations: 104.8 kB / 0.976 GB, free: 5.965 MB / 490.7 MB Notification: Performance of SimCode: time 2.433e-06/1.069, allocations: 0 / 0.976 GB, free: 5.965 MB / 490.7 MB Notification: Performance of Templates: time 0.03192/1.101, allocations: 12.93 MB / 0.9886 GB, free: 15.5 MB / 0.4948 GB