Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.066/5.066, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002469/0.002469, allocations: 364.5 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.25/4.25, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002591/0.00259, allocations: 174.2 kB / 1.225 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 16.66 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1629, allocations: 115.3 MB / 1.461 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004113/0.1671, allocations: 3.534 MB / 1.464 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8237/0.9908, allocations: 136.3 MB / 1.597 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.9917, allocations: 22 kB / 1.597 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.9921, allocations: 73.34 kB / 1.597 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.9939, allocations: 390.5 kB / 1.598 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.9966, allocations: 0.5807 MB / 1.598 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001923/0.9986, allocations: 1.034 MB / 1.599 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.9996, allocations: 454.6 kB / 1.6 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/1, allocations: 298.8 kB / 1.6 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/1.001, allocations: 313.8 kB / 1.6 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/1.001, allocations: 21.53 kB / 1.6 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/1.002, allocations: 258.5 kB / 1.601 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/1.002, allocations: 159.7 kB / 1.601 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003015/1.003, allocations: 184.5 kB / 1.601 GB, free: 12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/1.004, allocations: 1.007 MB / 1.602 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.514e-06/1.004, allocations: 0 / 1.602 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.844e-06/1.004, allocations: 0.7812 kB / 1.602 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.004, allocations: 0 / 1.602 GB, free: 11.74 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003541/1.008, allocations: 1.106 MB / 1.603 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.008, allocations: 9.938 kB / 1.603 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.009, allocations: 193.2 kB / 1.603 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.011, allocations: 0.6716 MB / 1.604 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/1.011, allocations: 60.31 kB / 1.604 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/1.011, allocations: 73.91 kB / 1.604 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/1.014, allocations: 0.8536 MB / 1.605 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.014, allocations: 0 / 1.605 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.014, allocations: 32.69 kB / 1.605 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/1.014, allocations: 22.17 kB / 1.605 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/1.017, allocations: 1.058 MB / 1.606 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/1.022, allocations: 2.363 MB / 1.608 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/1.024, allocations: 0.7943 MB / 1.609 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/1.025, allocations: 278 kB / 1.609 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/1.025, allocations: 34.39 kB / 1.609 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/1.026, allocations: 424 kB / 1.61 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.458e-06/1.026, allocations: 0 / 1.61 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003611/1.03, allocations: 1.09 MB / 1.611 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.03, allocations: 193.4 kB / 1.611 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/1.031, allocations: 0.5551 MB / 1.611 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.031, allocations: 42.33 kB / 1.611 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/1.031, allocations: 363.8 kB / 1.612 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.032, allocations: 235.1 kB / 1.612 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/1.032, allocations: 15.34 kB / 1.612 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.032, allocations: 382.2 kB / 1.612 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/1.033, allocations: 238.3 kB / 1.613 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/1.034, allocations: 324.4 kB / 1.613 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/1.034, allocations: 281.7 kB / 1.613 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.203e-06/1.034, allocations: 3.938 kB / 1.613 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00241/1.037, allocations: 0.7706 MB / 1.614 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.037, allocations: 7 kB / 1.614 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.037, allocations: 3.984 kB / 1.614 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/1.038, allocations: 83.28 kB / 1.614 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/1.038, allocations: 150.1 kB / 1.614 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/1.041, allocations: 1.516 MB / 1.616 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/1.042, allocations: 81.98 kB / 1.616 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/1.042, allocations: 38 kB / 1.616 GB, free: 2.105 MB / 0.6823 GB 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 (83): * Single equations (assignments): 82 * 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.0005735/1.043, allocations: 249.1 kB / 1.616 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/1.043, allocations: 77.52 kB / 1.616 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/1.046, allocations: 1.013 MB / 1.617 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.046, allocations: 7.969 kB / 1.617 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.677e-06/1.046, allocations: 96 / 1.617 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.046, allocations: 10.88 kB / 1.617 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/1.05, allocations: 1.854 MB / 1.619 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.799e-06/1.05, allocations: 0 / 1.619 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/1.051, allocations: 154.5 kB / 1.619 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006194/1.051, allocations: 84.84 kB / 1.619 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/1.051, allocations: 24.11 kB / 1.619 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/1.054, allocations: 1.546 MB / 1.621 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-06/1.054, allocations: 0 / 1.621 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/1.057, allocations: 0.9152 MB / 1.622 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/1.057, allocations: 267.3 kB / 1.622 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.058, allocations: 17.09 kB / 1.622 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/1.058, allocations: 70.38 kB / 1.622 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.059, allocations: 63.28 kB / 1.622 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/1.059, allocations: 30.86 kB / 1.622 GB, free: 13.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007098/1.059, allocations: 412.9 kB / 1.622 GB, free: 13.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.61e-07/1.059, allocations: 0 / 1.622 GB, free: 13.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000999/1.06, allocations: 272.8 kB / 1.623 GB, free: 13.25 MB / 0.698 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 (86): * Single equations (assignments): 83 * 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.001805/1.062, allocations: 0.5543 MB / 1.623 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001923/1.064, allocations: 0.7618 MB / 1.624 GB, free: 12.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.921e-06/1.064, allocations: 0 / 1.624 GB, free: 12.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.065, allocations: 0.4891 MB / 1.624 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.067, allocations: 242 kB / 1.625 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/1.072, allocations: 2.049 MB / 1.627 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/1.072, allocations: 1.019 MB / 1.628 GB, free: 9.996 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00116/1.074, allocations: 252.2 kB / 1.628 GB, free: 9.871 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/1.074, allocations: 103.4 kB / 1.628 GB, free: 9.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.709e-06/1.074, allocations: 0 / 1.628 GB, free: 9.84 MB / 0.698 GB Notification: Performance of Templates: time 0.03383/1.108, allocations: 12.46 MB / 1.64 GB, free: 28 kB / 0.698 GB