Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002426/0.00243, allocations: 356.8 kB / 15.94 MB, free: 6.207 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.267/1.267, allocations: 165.8 MB / 182.5 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.373/4.373, allocations: 410.8 MB / 0.5995 GB, free: 2.09 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00183/0.00183, allocations: 187.1 kB / 0.6662 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006478, allocations: 16 kB / 0.7423 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4374, allocations: 67.44 MB / 0.8081 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005019/0.4424, allocations: 3.458 MB / 0.8115 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.1785/0.621, allocations: 136.3 MB / 0.9446 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.6217, allocations: 19.88 kB / 0.9446 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.6221, allocations: 67.34 kB / 0.9447 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.6234, allocations: 381.4 kB / 0.945 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.6252, allocations: 0.5805 MB / 0.9456 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.6263, allocations: 1 MB / 0.9466 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.627, allocations: 444.3 kB / 0.947 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.6275, allocations: 274.7 kB / 0.9473 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.6279, allocations: 302.4 kB / 0.9475 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.444e-05/0.628, allocations: 20 kB / 0.9476 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006785/0.6287, allocations: 263.6 kB / 0.9478 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.6289, allocations: 159.3 kB / 0.948 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.6291, allocations: 177.1 kB / 0.9481 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.6301, allocations: 0.9931 MB / 0.9491 GB, free: 113 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.901e-06/0.6301, allocations: 0 / 0.9491 GB, free: 113 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6302, allocations: 4 kB / 0.9491 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.6302, allocations: 0 / 0.9491 GB, free: 112.9 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001851/0.632, allocations: 1.096 MB / 0.9502 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6321, allocations: 12.03 kB / 0.9502 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.6331, allocations: 180.5 kB / 0.9504 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.6342, allocations: 0.668 MB / 0.951 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.6343, allocations: 61.95 kB / 0.9511 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.6344, allocations: 72 kB / 0.9511 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.636, allocations: 0.8286 MB / 0.952 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.636, allocations: 0 / 0.952 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.6361, allocations: 35.42 kB / 0.952 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6362, allocations: 20 kB / 0.952 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.6381, allocations: 1.038 MB / 0.953 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.6422, allocations: 2.313 MB / 0.9553 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6438, allocations: 0.7839 MB / 0.956 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/0.6444, allocations: 271.4 kB / 0.9563 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.6445, allocations: 28.59 kB / 0.9563 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008198/0.6453, allocations: 417.7 kB / 0.9567 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=70): time 4.452e-06/0.6453, allocations: 0 / 0.9567 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70): time 0.003195/0.6485, allocations: 1.062 MB / 0.9578 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6486, allocations: 196.5 kB / 0.958 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.6494, allocations: 0.5499 MB / 0.9585 GB, free: 103 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.6495, allocations: 41.7 kB / 0.9585 GB, free: 103 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.6497, allocations: 360.2 kB / 0.9589 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.6499, allocations: 232.7 kB / 0.9591 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.65, allocations: 8 kB / 0.9591 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6501, allocations: 374.8 kB / 0.9595 GB, free: 102 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.6507, allocations: 237.9 kB / 0.9597 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.6513, allocations: 321.3 kB / 0.96 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.652, allocations: 269.7 kB / 0.9603 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-06/0.652, allocations: 0 / 0.9603 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002061/0.6541, allocations: 0.7548 MB / 0.961 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6541, allocations: 8 kB / 0.961 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.028e-06/0.6541, allocations: 0 / 0.961 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.6548, allocations: 84.86 kB / 0.9611 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.6556, allocations: 147.8 kB / 0.9612 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.6576, allocations: 1.512 MB / 0.9627 GB, free: 98.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.6584, allocations: 91.61 kB / 0.9628 GB, free: 98.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.6585, allocations: 31.97 kB / 0.9628 GB, free: 98.45 MB / 0.5886 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 (81): * Single equations (assignments): 80 * 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.0004596/0.659, allocations: 253.6 kB / 0.9631 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.6592, allocations: 71.16 kB / 0.9631 GB, free: 98.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.6617, allocations: 0.963 MB / 0.9641 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6617, allocations: 18.72 kB / 0.9641 GB, free: 97.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.714e-06/0.6617, allocations: 3.953 kB / 0.9641 GB, free: 97.15 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.6618, allocations: 3.984 kB / 0.9641 GB, free: 97.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.6652, allocations: 1.789 MB / 0.9658 GB, free: 95.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.159e-06/0.6653, allocations: 0 / 0.9658 GB, free: 95.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.6659, allocations: 139.8 kB / 0.966 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000586/0.6665, allocations: 80.78 kB / 0.966 GB, free: 95.08 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.6666, allocations: 23.98 kB / 0.9661 GB, free: 95.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.6685, allocations: 1.54 MB / 0.9676 GB, free: 93.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.322e-06/0.6685, allocations: 0 / 0.9676 GB, free: 93.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.6706, allocations: 0.8907 MB / 0.9684 GB, free: 92.47 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.6711, allocations: 259.8 kB / 0.9687 GB, free: 92.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6712, allocations: 16 kB / 0.9687 GB, free: 92.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.6719, allocations: 73.58 kB / 0.9688 GB, free: 92.11 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.6721, allocations: 60.88 kB / 0.9688 GB, free: 92.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.6721, allocations: 27.98 kB / 0.9689 GB, free: 92.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005569/0.6727, allocations: 398.8 kB / 0.9692 GB, free: 91.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.13e-07/0.6727, allocations: 0 / 0.9692 GB, free: 91.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009048/0.6736, allocations: 263.3 kB / 0.9695 GB, free: 91.38 MB / 0.5886 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 (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.001692/0.6754, allocations: 0.5438 MB / 0.97 GB, free: 91.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.6771, allocations: 0.7393 MB / 0.9707 GB, free: 90.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.833e-06/0.6771, allocations: 0 / 0.9707 GB, free: 90.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.6781, allocations: 491.2 kB / 0.9712 GB, free: 89.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.6795, allocations: 244 kB / 0.9714 GB, free: 89.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.6836, allocations: 1.972 MB / 0.9734 GB, free: 87.63 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.6842, allocations: 1.003 MB / 0.9744 GB, free: 86.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00113/0.6853, allocations: 248.5 kB / 0.9746 GB, free: 86.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.6856, allocations: 91.39 kB / 0.9747 GB, free: 86.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.827e-06/0.6857, allocations: 4 kB / 0.9747 GB, free: 86.29 MB / 0.5886 GB Notification: Performance of Templates: time 0.02729/0.713, allocations: 12.15 MB / 0.9865 GB, free: 74.51 MB / 0.5886 GB