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.003855/0.00386, allocations: 356.8 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.453/1.453, allocations: 165.8 MB / 182.5 MB, free: 5.414 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.791/3.791, allocations: 410.8 MB / 0.5995 GB, free: 15.18 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.001774/0.001774, allocations: 202.1 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005375, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3376, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006227/0.3439, allocations: 5.211 MB / 0.8132 GB, free: 23.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.6078/0.9518, allocations: 137.1 MB / 0.9472 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.953, allocations: 19.88 kB / 0.9472 GB, free: 256 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.9536, allocations: 117.8 kB / 0.9473 GB, free: 192 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.9561, allocations: 0.4963 MB / 0.9478 GB, free: 48 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.9593, allocations: 0.9075 MB / 0.9487 GB, free: 4 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.9627, allocations: 2.055 MB / 0.9507 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.9646, allocations: 1.118 MB / 0.9518 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.9659, allocations: 0.6524 MB / 0.9524 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.9672, allocations: 0.7814 MB / 0.9532 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.9675, allocations: 55.84 kB / 0.9532 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.9686, allocations: 322.9 kB / 0.9535 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004161/0.969, allocations: 340.6 kB / 0.9538 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.9695, allocations: 354.3 kB / 0.9542 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.9726, allocations: 2.291 MB / 0.9564 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.9726, allocations: 2.453 kB / 0.9564 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.9726, allocations: 0 / 0.9564 GB, free: 14.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.782e-05/0.9727, allocations: 0.6562 kB / 0.9564 GB, free: 14.94 MB / 490.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.006329/0.979, allocations: 2.072 MB / 0.9585 GB, free: 13.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.9791, allocations: 13.44 kB / 0.9585 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/0.9972, allocations: 2.189 MB / 0.9606 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/1, allocations: 1.146 MB / 0.9617 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/1, allocations: 156.5 kB / 0.9619 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/1.001, allocations: 198.6 kB / 0.9621 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/1.012, allocations: 3.093 MB / 0.9651 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/1.012, allocations: 3.984 kB / 0.9651 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/1.012, allocations: 86.62 kB / 0.9652 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/1.012, allocations: 53.38 kB / 0.9652 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/1.028, allocations: 4.075 MB / 0.9692 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/1.048, allocations: 6.612 MB / 0.9757 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/1.059, allocations: 2.733 MB / 0.9783 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005262/1.064, allocations: 1.374 MB / 0.9797 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.065, allocations: 0.5001 MB / 0.9802 GB, free: 6.637 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005982/1.071, allocations: 1.641 MB / 0.9818 GB, free: 6.074 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 6.599e-06/1.071, allocations: 0 / 0.9818 GB, free: 6.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=192): time 0.01774/1.089, allocations: 4.041 MB / 0.9857 GB, free: 5.121 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.089, allocations: 205.1 kB / 0.9859 GB, free: 4.895 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.091, allocations: 0.8313 MB / 0.9867 GB, free: 4.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005609/1.091, allocations: 58.02 kB / 0.9868 GB, free: 4.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000713/1.092, allocations: 0.6851 MB / 0.9874 GB, free: 4.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.093, allocations: 0.6213 MB / 0.988 GB, free: 3.703 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.094, allocations: 29.41 kB / 0.9881 GB, free: 3.703 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/1.094, allocations: 374.2 kB / 0.9884 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.099, allocations: 1.138 MB / 0.9895 GB, free: 3.152 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/1.104, allocations: 1.311 MB / 0.9908 GB, free: 2.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/1.109, allocations: 1.177 MB / 0.992 GB, free: 2.648 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.109, allocations: 7.938 kB / 0.992 GB, free: 2.641 MB / 490.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.0122/1.121, allocations: 2.839 MB / 0.9947 GB, free: 1.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.122, allocations: 17.84 kB / 0.9948 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.122, allocations: 0 / 0.9948 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/1.122, allocations: 94.03 kB / 0.9949 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004864/1.127, allocations: 0.5611 MB / 0.9954 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/1.13, allocations: 1.524 MB / 0.9969 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/1.134, allocations: 318.4 kB / 0.9972 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/1.134, allocations: 98.69 kB / 0.9973 GB, free: 15.04 MB / 0.4949 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.001421/1.136, allocations: 401.4 kB / 0.9977 GB, free: 14.79 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005036/1.136, allocations: 138.3 kB / 0.9978 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/1.151, allocations: 3.378 MB / 1.001 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/1.151, allocations: 23.98 kB / 1.001 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.151, allocations: 8 kB / 1.001 GB, free: 12.19 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-05/1.151, allocations: 7.969 kB / 1.001 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/1.169, allocations: 5.587 MB / 1.007 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.169, allocations: 0 / 1.007 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004595/1.174, allocations: 0.5258 MB / 1.007 GB, free: 7.852 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000674/1.174, allocations: 86.95 kB / 1.007 GB, free: 7.77 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004979/1.175, allocations: 67.48 kB / 1.007 GB, free: 7.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/1.177, allocations: 1.551 MB / 1.009 GB, free: 6.184 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.177, allocations: 0 / 1.009 GB, free: 6.184 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.19, allocations: 2.944 MB / 1.012 GB, free: 4.008 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.192, allocations: 0.5232 MB / 1.012 GB, free: 3.613 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/1.192, allocations: 36.36 kB / 1.012 GB, free: 3.602 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/1.195, allocations: 253 kB / 1.012 GB, free: 3.383 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.196, allocations: 124.3 kB / 1.013 GB, free: 3.273 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/1.196, allocations: 84.22 kB / 1.013 GB, free: 3.207 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001215/1.197, allocations: 0.6075 MB / 1.013 GB, free: 2.746 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.79e-07/1.197, allocations: 0 / 1.013 GB, free: 2.746 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002398/1.2, allocations: 0.5687 MB / 1.014 GB, free: 2.238 MB / 0.4949 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.002131/1.202, allocations: 0.6 MB / 1.014 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.214, allocations: 2.876 MB / 1.017 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.979e-06/1.214, allocations: 1.859 kB / 1.017 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006336/1.22, allocations: 1.602 MB / 1.019 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.223, allocations: 306.6 kB / 1.019 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.236, allocations: 4.684 MB / 1.024 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/1.238, allocations: 1.4 MB / 1.025 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005483/1.243, allocations: 0.5424 MB / 1.026 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.245, allocations: 209.9 kB / 1.026 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of SimCode: time 1.808e-06/1.245, allocations: 4 kB / 1.026 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of Templates: time 0.06321/1.308, allocations: 25.05 MB / 1.05 GB, free: 15.16 MB / 0.5417 GB