Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002424/0.002423, allocations: 354.7 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.466/1.466, allocations: 165.8 MB / 182.5 MB, free: 5.488 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 4.008/4.008, allocations: 410.8 MB / 0.5995 GB, free: 15.1 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.001703/0.001702, allocations: 207.4 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004622, allocations: 16 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 67.44 MB / 0.8082 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004172/0.3384, allocations: 3.566 MB / 0.8116 GB, free: 25.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5635/0.902, allocations: 136.4 MB / 0.9448 GB, free: 1.371 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/0.9027, allocations: 14.03 kB / 0.9449 GB, free: 1.371 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.9031, allocations: 77.92 kB / 0.9449 GB, free: 1.371 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.9047, allocations: 413.5 kB / 0.9453 GB, free: 1.352 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.9068, allocations: 0.5843 MB / 0.9459 GB, free: 1.344 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.9081, allocations: 1.055 MB / 0.9469 GB, free: 1.34 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007496/0.9089, allocations: 472.2 kB / 0.9474 GB, free: 1.254 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.9094, allocations: 296.4 kB / 0.9477 GB, free: 1.254 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.9099, allocations: 326.9 kB / 0.948 GB, free: 1.223 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.609e-05/0.91, allocations: 22.69 kB / 0.948 GB, free: 1.223 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.9108, allocations: 268.1 kB / 0.9483 GB, free: 1.219 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.9111, allocations: 165 kB / 0.9484 GB, free: 1.18 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.9113, allocations: 185 kB / 0.9486 GB, free: 1.113 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.9125, allocations: 1.018 MB / 0.9496 GB, free: 1.031 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.192e-06/0.9125, allocations: 0 / 0.9496 GB, free: 1.031 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.025e-06/0.9125, allocations: 0 / 0.9496 GB, free: 1.031 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.9125, allocations: 0 / 0.9496 GB, free: 1.031 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002151/0.9147, allocations: 1.121 MB / 0.9507 GB, free: 332 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.9147, allocations: 8.188 kB / 0.9507 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.9159, allocations: 191.9 kB / 0.9509 GB, free: 272 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.9173, allocations: 0.6764 MB / 0.9515 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.9174, allocations: 65.42 kB / 0.9516 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.9176, allocations: 78.28 kB / 0.9517 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.9196, allocations: 0.8675 MB / 0.9525 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.9197, allocations: 4.438 kB / 0.9525 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.9198, allocations: 32.47 kB / 0.9525 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.9198, allocations: 19.34 kB / 0.9526 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.9222, allocations: 1.085 MB / 0.9536 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005594/0.9278, allocations: 2.417 MB / 0.956 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.9296, allocations: 0.7426 MB / 0.9567 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.9303, allocations: 294.4 kB / 0.957 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.9304, allocations: 32.12 kB / 0.957 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.9314, allocations: 446.6 kB / 0.9574 GB, free: 14.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 5.229e-06/0.9315, allocations: 0 / 0.9574 GB, free: 14.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.003771/0.9352, allocations: 1.125 MB / 0.9585 GB, free: 14.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.9354, allocations: 191.3 kB / 0.9587 GB, free: 14.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009332/0.9364, allocations: 0.5833 MB / 0.9593 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/0.9365, allocations: 39.14 kB / 0.9593 GB, free: 14.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.9368, allocations: 370.2 kB / 0.9597 GB, free: 14.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.9371, allocations: 254.3 kB / 0.9599 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.9372, allocations: 13.53 kB / 0.9599 GB, free: 13.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.9374, allocations: 386.3 kB / 0.9603 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.9381, allocations: 249.5 kB / 0.9605 GB, free: 13.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007509/0.9388, allocations: 348.4 kB / 0.9609 GB, free: 13.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.9396, allocations: 296.2 kB / 0.9612 GB, free: 13.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.858e-06/0.9396, allocations: 0 / 0.9612 GB, free: 13.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002284/0.9419, allocations: 0.8161 MB / 0.962 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.9419, allocations: 9.812 kB / 0.962 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.35e-06/0.9419, allocations: 0 / 0.962 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/0.9426, allocations: 85.81 kB / 0.9621 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.9435, allocations: 155.8 kB / 0.9622 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.9461, allocations: 1.52 MB / 0.9637 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/0.947, allocations: 85 kB / 0.9638 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9472, allocations: 37.86 kB / 0.9638 GB, free: 12.04 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 (89): * Single equations (assignments): 88 * 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.0005807/0.9478, allocations: 259.3 kB / 0.964 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.948, allocations: 80.58 kB / 0.9641 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.9509, allocations: 1.04 MB / 0.9651 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.951, allocations: 8.031 kB / 0.9651 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.951, allocations: 0 / 0.9651 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.951, allocations: 8.484 kB / 0.9652 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.9551, allocations: 1.873 MB / 0.967 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.838e-06/0.9551, allocations: 0 / 0.967 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.9559, allocations: 151.4 kB / 0.9671 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/0.9565, allocations: 82.14 kB / 0.9672 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/0.9566, allocations: 22.31 kB / 0.9672 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.9591, allocations: 1.554 MB / 0.9687 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.9591, allocations: 6.859 kB / 0.9688 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.9617, allocations: 0.9313 MB / 0.9697 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/0.9624, allocations: 273.9 kB / 0.9699 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.9625, allocations: 16.73 kB / 0.9699 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.9633, allocations: 70.69 kB / 0.97 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.9635, allocations: 58.56 kB / 0.9701 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.9636, allocations: 33.45 kB / 0.9701 GB, free: 9.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007007/0.9643, allocations: 427.4 kB / 0.9705 GB, free: 9.262 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.97e-07/0.9643, allocations: 0 / 0.9705 GB, free: 9.262 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00104/0.9654, allocations: 279.5 kB / 0.9708 GB, free: 9.211 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 (87): * Single equations (assignments): 84 * 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.001808/0.9672, allocations: 0.5415 MB / 0.9713 GB, free: 8.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.9692, allocations: 0.7886 MB / 0.9721 GB, free: 8.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.018e-06/0.9693, allocations: 2.094 kB / 0.9721 GB, free: 8.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.9704, allocations: 0.4926 MB / 0.9726 GB, free: 8.559 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.9719, allocations: 249.3 kB / 0.9728 GB, free: 8.492 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.9768, allocations: 2.064 MB / 0.9748 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/0.9777, allocations: 1.024 MB / 0.9758 GB, free: 6.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001244/0.979, allocations: 254.9 kB / 0.976 GB, free: 6.379 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.9793, allocations: 105.8 kB / 0.9761 GB, free: 6.352 MB / 490.7 MB Notification: Performance of SimCode: time 1.665e-06/0.9793, allocations: 0 / 0.9761 GB, free: 6.352 MB / 490.7 MB Notification: Performance of Templates: time 0.03216/1.012, allocations: 12.72 MB / 0.9886 GB, free: 8 kB / 490.7 MB