Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002469/0.002468, allocations: 355.5 kB / 15.94 MB, free: 6.211 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.395/1.395, allocations: 165.8 MB / 182.5 MB, free: 5.52 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.709/3.709, allocations: 410.7 MB / 0.5995 GB, free: 15.16 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.001716/0.001715, allocations: 197.4 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004548, allocations: 12 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4002, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007809/0.4081, allocations: 3.613 MB / 0.8117 GB, free: 25.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.6104/1.019, allocations: 136.3 MB / 0.9448 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/1.019, allocations: 15.34 kB / 0.9448 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/1.02, allocations: 77.28 kB / 0.9449 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/1.021, allocations: 394 kB / 0.9453 GB, free: 1.344 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/1.023, allocations: 0.6185 MB / 0.9459 GB, free: 1.332 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/1.025, allocations: 1.065 MB / 0.9469 GB, free: 1.328 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/1.025, allocations: 467.7 kB / 0.9474 GB, free: 1.25 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/1.026, allocations: 309.2 kB / 0.9477 GB, free: 1.25 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/1.026, allocations: 333 kB / 0.948 GB, free: 1.172 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/1.026, allocations: 22.94 kB / 0.948 GB, free: 1.172 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/1.027, allocations: 286.6 kB / 0.9483 GB, free: 1.164 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/1.027, allocations: 170 kB / 0.9485 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/1.028, allocations: 178.6 kB / 0.9486 GB, free: 1.062 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/1.029, allocations: 1.055 MB / 0.9497 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.384e-06/1.029, allocations: 0 / 0.9497 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.366e-06/1.029, allocations: 0 / 0.9497 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/1.029, allocations: 0 / 0.9497 GB, free: 0.9766 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002255/1.031, allocations: 1.148 MB / 0.9508 GB, free: 256 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.031, allocations: 9.344 kB / 0.9508 GB, free: 256 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.032, allocations: 187.1 kB / 0.951 GB, free: 196 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.034, allocations: 0.6878 MB / 0.9516 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.034, allocations: 69.92 kB / 0.9517 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.034, allocations: 75.44 kB / 0.9518 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/1.036, allocations: 0.877 MB / 0.9526 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/1.036, allocations: 0 / 0.9526 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.036, allocations: 37.41 kB / 0.9527 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/1.036, allocations: 19.22 kB / 0.9527 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/1.039, allocations: 1.088 MB / 0.9537 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005666/1.045, allocations: 2.443 MB / 0.9561 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.047, allocations: 0.88 MB / 0.957 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/1.048, allocations: 297 kB / 0.9573 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/1.048, allocations: 34.23 kB / 0.9573 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/1.049, allocations: 449 kB / 0.9577 GB, free: 14.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 5.163e-06/1.049, allocations: 0 / 0.9577 GB, free: 14.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.003764/1.053, allocations: 1.136 MB / 0.9588 GB, free: 14.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.053, allocations: 190.3 kB / 0.959 GB, free: 14.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/1.054, allocations: 0.5757 MB / 0.9596 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/1.054, allocations: 42.89 kB / 0.9596 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/1.055, allocations: 377.5 kB / 0.96 GB, free: 13.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/1.055, allocations: 251.4 kB / 0.9602 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/1.055, allocations: 11.84 kB / 0.9602 GB, free: 13.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002345/1.055, allocations: 383.1 kB / 0.9606 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/1.056, allocations: 252.5 kB / 0.9608 GB, free: 13.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/1.057, allocations: 346.7 kB / 0.9612 GB, free: 13.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/1.058, allocations: 296.3 kB / 0.9615 GB, free: 13.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.616e-06/1.058, allocations: 0 / 0.9615 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0024/1.06, allocations: 0.8148 MB / 0.9623 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.06, allocations: 5.469 kB / 0.9623 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.06, allocations: 2.906 kB / 0.9623 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/1.061, allocations: 82.88 kB / 0.9623 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008572/1.062, allocations: 159.9 kB / 0.9625 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/1.064, allocations: 1.522 MB / 0.964 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/1.065, allocations: 90.17 kB / 0.9641 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/1.065, allocations: 35.8 kB / 0.9641 GB, free: 11.87 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 (87): * Single equations (assignments): 86 * 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.0005656/1.066, allocations: 260.6 kB / 0.9644 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.066, allocations: 80.39 kB / 0.9644 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/1.069, allocations: 1.081 MB / 0.9655 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.069, allocations: 12.03 kB / 0.9655 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.627e-06/1.069, allocations: 4 kB / 0.9655 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.069, allocations: 8.516 kB / 0.9655 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/1.073, allocations: 1.941 MB / 0.9674 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.909e-06/1.073, allocations: 0 / 0.9674 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/1.074, allocations: 162.9 kB / 0.9676 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/1.075, allocations: 88.97 kB / 0.9676 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/1.075, allocations: 27.05 kB / 0.9677 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/1.078, allocations: 1.543 MB / 0.9692 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.065e-06/1.078, allocations: 0 / 0.9692 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/1.081, allocations: 0.9676 MB / 0.9701 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/1.081, allocations: 282.1 kB / 0.9704 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.082, allocations: 17.59 kB / 0.9704 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/1.082, allocations: 71.72 kB / 0.9705 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.083, allocations: 69.89 kB / 0.9705 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/1.083, allocations: 36.17 kB / 0.9706 GB, free: 9.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007064/1.083, allocations: 428.2 kB / 0.971 GB, free: 8.996 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.4e-07/1.083, allocations: 0 / 0.971 GB, free: 8.996 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001057/1.084, allocations: 286.9 kB / 0.9713 GB, free: 8.945 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.001819/1.086, allocations: 0.5732 MB / 0.9718 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/1.088, allocations: 0.7947 MB / 0.9726 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.244e-06/1.088, allocations: 2.938 kB / 0.9726 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.09, allocations: 0.5118 MB / 0.9731 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.091, allocations: 255.6 kB / 0.9733 GB, free: 8.199 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/1.096, allocations: 2.117 MB / 0.9754 GB, free: 7.027 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/1.097, allocations: 1.033 MB / 0.9764 GB, free: 6.184 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001205/1.098, allocations: 260.3 kB / 0.9767 GB, free: 6.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/1.098, allocations: 102.8 kB / 0.9768 GB, free: 6.031 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/1.099, allocations: 2.938 kB / 0.9768 GB, free: 6.031 MB / 490.7 MB Notification: Performance of Templates: time 0.03171/1.13, allocations: 12.99 MB / 0.9895 GB, free: 15.55 MB / 0.4948 GB