Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.465/2.465, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 173.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 90.84 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000798/0.0007984, allocations: 14.62 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1643, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007246/0.1716, allocations: 3.491 MB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8313/1.003, allocations: 127.2 MB / 1.106 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/1.004, allocations: 17.88 kB / 1.106 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003015/1.004, allocations: 69.3 kB / 1.106 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/1.005, allocations: 424.8 kB / 1.107 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/1.007, allocations: 0.5839 MB / 1.107 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001091/1.008, allocations: 0.7412 MB / 1.108 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007452/1.009, allocations: 454.4 kB / 1.109 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000731/1.01, allocations: 307.2 kB / 1.109 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/1.01, allocations: 292.9 kB / 1.109 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-05/1.01, allocations: 21.56 kB / 1.109 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/1.011, allocations: 247.7 kB / 1.109 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/1.011, allocations: 158.6 kB / 1.11 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/1.012, allocations: 177.6 kB / 1.11 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/1.013, allocations: 1.014 MB / 1.111 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.013, allocations: 1.344 kB / 1.111 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/1.013, allocations: 0 / 1.111 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.739e-05/1.013, allocations: 0 / 1.111 GB, free: 1.246 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002243/1.015, allocations: 1.115 MB / 1.112 GB, free: 16.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.016, allocations: 13.05 kB / 1.112 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.017, allocations: 189.8 kB / 1.112 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.018, allocations: 0.6738 MB / 1.113 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/1.018, allocations: 59.69 kB / 1.113 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.018, allocations: 74.58 kB / 1.113 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.02, allocations: 0.842 MB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.02, allocations: 1.156 kB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.02, allocations: 34.09 kB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/1.02, allocations: 29.84 kB / 1.114 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/1.023, allocations: 1.061 MB / 1.115 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/1.028, allocations: 2.389 MB / 1.117 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/1.029, allocations: 0.8059 MB / 1.118 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/1.029, allocations: 33.25 kB / 1.118 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009479/1.03, allocations: 426.8 kB / 1.118 GB, free: 14.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.818e-06/1.03, allocations: 1.094 kB / 1.118 GB, free: 14.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003625/1.034, allocations: 1.092 MB / 1.119 GB, free: 14.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.034, allocations: 192.2 kB / 1.12 GB, free: 14.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/1.035, allocations: 0.5608 MB / 1.12 GB, free: 14.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/1.035, allocations: 40.39 kB / 1.12 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/1.036, allocations: 373.7 kB / 1.12 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/1.036, allocations: 240.4 kB / 1.121 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/1.036, allocations: 13.09 kB / 1.121 GB, free: 14.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.036, allocations: 382.1 kB / 1.121 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/1.037, allocations: 213.3 kB / 1.121 GB, free: 13.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/1.037, allocations: 319.4 kB / 1.122 GB, free: 13.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/1.038, allocations: 262.3 kB / 1.122 GB, free: 13.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.367e-06/1.038, allocations: 0 / 1.122 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002085/1.04, allocations: 0.7261 MB / 1.123 GB, free: 13.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.04, allocations: 6.875 kB / 1.123 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/1.04, allocations: 0 / 1.123 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/1.041, allocations: 87.45 kB / 1.123 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.042, allocations: 138.6 kB / 1.123 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.044, allocations: 1.533 MB / 1.124 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/1.045, allocations: 90.22 kB / 1.124 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/1.045, allocations: 30.28 kB / 1.124 GB, free: 12.18 MB / 0.698 GB 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 (76): * Single equations (assignments): 75 * 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.0005626/1.046, allocations: 243.9 kB / 1.125 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.046, allocations: 75.83 kB / 1.125 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/1.049, allocations: 1.027 MB / 1.126 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.049, allocations: 9.938 kB / 1.126 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-06/1.049, allocations: 0 / 1.126 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.049, allocations: 4.406 kB / 1.126 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/1.053, allocations: 1.869 MB / 1.128 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-06/1.053, allocations: 0 / 1.128 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/1.054, allocations: 158.4 kB / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/1.054, allocations: 85.14 kB / 1.128 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/1.054, allocations: 25 kB / 1.128 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/1.057, allocations: 1.553 MB / 1.129 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-06/1.057, allocations: 0 / 1.129 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.059, allocations: 0.9295 MB / 1.13 GB, free: 9.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.059, allocations: 265.8 kB / 1.13 GB, free: 9.797 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.06, allocations: 16.75 kB / 1.13 GB, free: 9.797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/1.06, allocations: 72.66 kB / 1.131 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.061, allocations: 62.91 kB / 1.131 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.782e-05/1.061, allocations: 34.36 kB / 1.131 GB, free: 9.746 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007211/1.061, allocations: 413.9 kB / 1.131 GB, free: 9.602 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.37e-07/1.061, allocations: 0 / 1.131 GB, free: 9.602 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001006/1.062, allocations: 276.8 kB / 1.131 GB, free: 9.543 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 (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.001784/1.064, allocations: 0.5436 MB / 1.132 GB, free: 9.305 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.066, allocations: 0.7331 MB / 1.133 GB, free: 9.082 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.066, allocations: 0 / 1.133 GB, free: 9.082 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.067, allocations: 494.6 kB / 1.133 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.068, allocations: 241.9 kB / 1.133 GB, free: 8.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/1.073, allocations: 2.04 MB / 1.135 GB, free: 7.691 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/1.074, allocations: 1.022 MB / 1.136 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001222/1.075, allocations: 250.4 kB / 1.136 GB, free: 6.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/1.076, allocations: 100.9 kB / 1.137 GB, free: 6.707 MB / 0.698 GB Notification: Performance of SimCode: time 1.554e-06/1.076, allocations: 1.281 kB / 1.137 GB, free: 6.707 MB / 0.698 GB Notification: Performance of Templates: time 0.03474/1.111, allocations: 12.5 MB / 1.149 GB, free: 448 kB / 0.698 GB