Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001375/0.001379, allocations: 186.7 kB / 15.77 MB, free: 5.996 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.6868/0.6868, allocations: 82.92 MB / 99.41 MB, free: 3.352 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.337/2.337, allocations: 205.4 MB / 325.4 MB, free: 3.352 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.001056/0.001056, allocations: 94.23 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004483, allocations: 15.98 kB / 471.5 MB, free: 66.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09309, allocations: 67.45 MB / 0.5263 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005625/0.09876, allocations: 3.433 MB / 0.5297 GB, free: 11.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5/0.5988, allocations: 127.2 MB / 0.6539 GB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.5996, allocations: 14.12 kB / 0.6539 GB, free: 6.469 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.6, allocations: 71.02 kB / 0.654 GB, free: 6.406 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.6017, allocations: 416.1 kB / 0.6544 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6039, allocations: 0.6011 MB / 0.655 GB, free: 5.684 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.6054, allocations: 0.7241 MB / 0.6557 GB, free: 5.195 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.6062, allocations: 439.1 kB / 0.6561 GB, free: 4.957 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.6067, allocations: 296.1 kB / 0.6564 GB, free: 4.793 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.6072, allocations: 284 kB / 0.6566 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.6073, allocations: 21.38 kB / 0.6567 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.6084, allocations: 244 kB / 0.6569 GB, free: 4.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.6087, allocations: 161.6 kB / 0.657 GB, free: 4.414 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.609, allocations: 176.1 kB / 0.6572 GB, free: 4.289 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.6104, allocations: 1.017 MB / 0.6582 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.241e-06/0.6105, allocations: 0 / 0.6582 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.488e-06/0.6105, allocations: 2.812 kB / 0.6582 GB, free: 3.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.6105, allocations: 0 / 0.6582 GB, free: 3.555 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002301/0.6128, allocations: 1.101 MB / 0.6593 GB, free: 2.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6129, allocations: 14.25 kB / 0.6593 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.614, allocations: 180.9 kB / 0.6595 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.6154, allocations: 0.6733 MB / 0.6601 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.6155, allocations: 61.7 kB / 0.6602 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6157, allocations: 76.39 kB / 0.6603 GB, free: 1.945 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.6177, allocations: 0.8367 MB / 0.6611 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.6177, allocations: 0 / 0.6611 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.6178, allocations: 31.78 kB / 0.6611 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.6178, allocations: 17.81 kB / 0.6611 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.6202, allocations: 1.051 MB / 0.6622 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.6253, allocations: 2.383 MB / 0.6645 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.6272, allocations: 0.7303 MB / 0.6652 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.6273, allocations: 27.88 kB / 0.6652 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009867/0.6283, allocations: 422.5 kB / 0.6656 GB, free: 14.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 4.049e-06/0.6283, allocations: 0 / 0.6656 GB, free: 14.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=70): time 0.003631/0.6319, allocations: 1.085 MB / 0.6667 GB, free: 13.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.6321, allocations: 195.9 kB / 0.6669 GB, free: 13.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.6331, allocations: 0.5537 MB / 0.6674 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-05/0.6332, allocations: 41.95 kB / 0.6674 GB, free: 13.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.6336, allocations: 376.8 kB / 0.6678 GB, free: 12.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.6339, allocations: 233.1 kB / 0.668 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.6339, allocations: 10.91 kB / 0.668 GB, free: 12.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.6342, allocations: 376.2 kB / 0.6684 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.6348, allocations: 218.6 kB / 0.6686 GB, free: 12.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.6356, allocations: 322.2 kB / 0.6689 GB, free: 11.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.6363, allocations: 269 kB / 0.6692 GB, free: 11.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6363, allocations: 0 / 0.6692 GB, free: 11.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002229/0.6385, allocations: 0.7238 MB / 0.6699 GB, free: 11.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6386, allocations: 6.625 kB / 0.6699 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.647e-06/0.6386, allocations: 96 / 0.6699 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/0.6393, allocations: 83.5 kB / 0.67 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.64, allocations: 138.9 kB / 0.6701 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.6427, allocations: 1.542 MB / 0.6716 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008091/0.6436, allocations: 80.55 kB / 0.6717 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.6437, allocations: 29.7 kB / 0.6717 GB, free: 9.828 MB / 458.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: 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 (73): * Single equations (assignments): 72 * 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.0005739/0.6443, allocations: 252.8 kB / 0.6719 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.6445, allocations: 70.91 kB / 0.672 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.6475, allocations: 1.002 MB / 0.673 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.6475, allocations: 8 kB / 0.673 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.6475, allocations: 3.953 kB / 0.673 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.6476, allocations: 7.969 kB / 0.673 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.6491, allocations: 0.8295 MB / 0.6738 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.6491, allocations: 4.234 kB / 0.6738 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.6499, allocations: 139.8 kB / 0.674 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/0.6505, allocations: 84.77 kB / 0.674 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/0.6506, allocations: 23.98 kB / 0.6741 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.6533, allocations: 1.571 MB / 0.6756 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.802e-06/0.6533, allocations: 0 / 0.6756 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.6558, allocations: 0.8343 MB / 0.6764 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.6564, allocations: 275.7 kB / 0.6767 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6565, allocations: 19.98 kB / 0.6767 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.6572, allocations: 63.89 kB / 0.6768 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.6574, allocations: 60.91 kB / 0.6768 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/0.6575, allocations: 31.98 kB / 0.6768 GB, free: 4.645 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007658/0.6582, allocations: 415.1 kB / 0.6772 GB, free: 4.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.468e-06/0.6583, allocations: 0 / 0.6772 GB, free: 4.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009933/0.6593, allocations: 263.3 kB / 0.6775 GB, free: 3.977 MB / 458.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 (81): * Single equations (assignments): 78 * 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.001857/0.6611, allocations: 0.5486 MB / 0.678 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.6632, allocations: 0.7167 MB / 0.6787 GB, free: 2.836 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.786e-06/0.6632, allocations: 0 / 0.6787 GB, free: 2.836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6644, allocations: 496.2 kB / 0.6792 GB, free: 2.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.6658, allocations: 242.4 kB / 0.6794 GB, free: 2.105 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.6709, allocations: 1.994 MB / 0.6814 GB, free: 88 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/0.6718, allocations: 1.007 MB / 0.6824 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001259/0.6731, allocations: 245.9 kB / 0.6826 GB, free: 14.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.6735, allocations: 99.38 kB / 0.6827 GB, free: 14.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.632e-06/0.6735, allocations: 4 kB / 0.6827 GB, free: 14.71 MB / 474.7 MB Notification: Performance of Templates: time 0.05402/0.7275, allocations: 12.44 MB / 0.6948 GB, free: 2.375 MB / 474.7 MB