Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.31/2.31, allocations: 252.6 MB / 265.2 MB, free: 5.738 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 94.62 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.416e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2633, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.284/7.547, allocations: 2.19 GB / 3.085 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/7.547, allocations: 98.88 kB / 3.085 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2357/7.783, allocations: 63.25 MB / 3.147 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.685e-06/7.783, allocations: 4 kB / 3.147 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.63e-05/7.783, allocations: 27.94 kB / 3.147 GB, free: 79.24 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002533/7.786, allocations: 1.031 MB / 3.148 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/7.786, allocations: 12.03 kB / 3.148 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/7.788, allocations: 206.5 kB / 3.148 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/7.79, allocations: 0.6036 MB / 3.149 GB, free: 77.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/7.79, allocations: 58 kB / 3.149 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/7.79, allocations: 76 kB / 3.149 GB, free: 77.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/7.792, allocations: 0.8287 MB / 3.149 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/7.792, allocations: 3.953 kB / 3.149 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/7.792, allocations: 35.98 kB / 3.149 GB, free: 76.26 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/7.792, allocations: 20 kB / 3.15 GB, free: 76.24 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/7.795, allocations: 1.026 MB / 3.151 GB, free: 75.22 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006878/7.802, allocations: 2.418 MB / 3.153 GB, free: 72.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/7.805, allocations: 0.7664 MB / 3.154 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/7.806, allocations: 280.3 kB / 3.154 GB, free: 71.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/7.806, allocations: 28.81 kB / 3.154 GB, free: 71.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/7.807, allocations: 433.2 kB / 3.154 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/7.807, allocations: 0 / 3.154 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002733/7.81, allocations: 0.6993 MB / 3.155 GB, free: 70.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/7.81, allocations: 248.1 kB / 3.155 GB, free: 70.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/7.811, allocations: 0.5581 MB / 3.156 GB, free: 69.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/7.812, allocations: 37.7 kB / 3.156 GB, free: 69.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/7.812, allocations: 368.3 kB / 3.156 GB, free: 69.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/7.812, allocations: 244.4 kB / 3.156 GB, free: 68.99 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/7.812, allocations: 12 kB / 3.156 GB, free: 68.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000126/7.813, allocations: 382.7 kB / 3.157 GB, free: 68.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/7.813, allocations: 213.5 kB / 3.157 GB, free: 68.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/7.814, allocations: 317 kB / 3.157 GB, free: 68.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/7.814, allocations: 258 kB / 3.158 GB, free: 67.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/7.814, allocations: 0 / 3.158 GB, free: 67.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0025/7.817, allocations: 0.7071 MB / 3.158 GB, free: 67.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/7.817, allocations: 8 kB / 3.158 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/7.817, allocations: 0 / 3.158 GB, free: 67.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009775/7.818, allocations: 80.81 kB / 3.158 GB, free: 66.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/7.819, allocations: 139.8 kB / 3.158 GB, free: 66.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/7.822, allocations: 1.532 MB / 3.16 GB, free: 65.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/7.823, allocations: 83.45 kB / 3.16 GB, free: 65.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/7.823, allocations: 23.98 kB / 3.16 GB, free: 65.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.000258/7.824, allocations: 151.5 kB / 3.16 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/7.824, allocations: 75.06 kB / 3.16 GB, free: 64.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/7.827, allocations: 0.9886 MB / 3.161 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/7.827, allocations: 8 kB / 3.161 GB, free: 63.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/7.827, allocations: 4 kB / 3.161 GB, free: 63.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/7.827, allocations: 11.88 kB / 3.161 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/7.829, allocations: 0.872 MB / 3.162 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/7.829, allocations: 3.984 kB / 3.162 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/7.83, allocations: 147.8 kB / 3.162 GB, free: 62.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000848/7.831, allocations: 80.78 kB / 3.162 GB, free: 62.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/7.831, allocations: 23.98 kB / 3.162 GB, free: 62.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/7.833, allocations: 1.556 MB / 3.164 GB, free: 60.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.833, allocations: 4.016 kB / 3.164 GB, free: 60.95 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/7.836, allocations: 0.8206 MB / 3.165 GB, free: 60.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/7.837, allocations: 291.8 kB / 3.165 GB, free: 59.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/7.837, allocations: 20 kB / 3.165 GB, free: 59.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/7.838, allocations: 59.95 kB / 3.165 GB, free: 59.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/7.838, allocations: 64.69 kB / 3.165 GB, free: 59.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/7.838, allocations: 35.92 kB / 3.165 GB, free: 59.62 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008054/7.839, allocations: 467.1 kB / 3.166 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/7.839, allocations: 3.938 kB / 3.166 GB, free: 59.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001348/7.84, allocations: 327.2 kB / 3.166 GB, free: 58.84 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.002268/7.843, allocations: 0.9793 MB / 3.167 GB, free: 58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002022/7.845, allocations: 0.7097 MB / 3.168 GB, free: 57.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.845, allocations: 3.938 kB / 3.168 GB, free: 57.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/7.846, allocations: 475 kB / 3.168 GB, free: 56.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/7.848, allocations: 241.8 kB / 3.168 GB, free: 56.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/7.853, allocations: 1.312 MB / 3.17 GB, free: 55.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/7.853, allocations: 1.019 MB / 3.171 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001519/7.855, allocations: 258 kB / 3.171 GB, free: 53.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/7.855, allocations: 95.39 kB / 3.171 GB, free: 53.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/7.855, allocations: 0 / 3.171 GB, free: 53.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.05062/7.906, allocations: 21.87 MB / 3.192 GB, free: 32.07 MB / 0.8698 GB