Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 248.7 MB / 256.2 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 183.8 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 94.08 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.137e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.209/7.417, allocations: 2.191 GB / 3.075 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004561/7.417, allocations: 90.44 kB / 3.075 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2909/7.708, allocations: 62.63 MB / 3.136 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/7.708, allocations: 0 / 3.136 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.78e-05/7.708, allocations: 27.94 kB / 3.136 GB, free: 122.8 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002387/7.711, allocations: 1.077 MB / 3.137 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/7.711, allocations: 16.03 kB / 3.137 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/7.713, allocations: 266.4 kB / 3.137 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/7.715, allocations: 0.623 MB / 3.138 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/7.715, allocations: 28 kB / 3.138 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/7.715, allocations: 55.94 kB / 3.138 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002339/7.717, allocations: 1.026 MB / 3.139 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/7.719, allocations: 0.7896 MB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/7.719, allocations: 7.938 kB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/7.72, allocations: 0 / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/7.72, allocations: 20 kB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/7.725, allocations: 2.431 MB / 3.142 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/7.728, allocations: 0.7294 MB / 3.143 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/7.729, allocations: 251.2 kB / 3.143 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/7.729, allocations: 36.8 kB / 3.143 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008175/7.73, allocations: 403.8 kB / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.236e-06/7.73, allocations: 0 / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002441/7.732, allocations: 0.6719 MB / 3.144 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/7.732, allocations: 244.1 kB / 3.144 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/7.733, allocations: 0.4905 MB / 3.145 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/7.733, allocations: 25.7 kB / 3.145 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/7.734, allocations: 404 kB / 3.145 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/7.734, allocations: 236.4 kB / 3.145 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/7.734, allocations: 0 / 3.145 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001143/7.734, allocations: 378.7 kB / 3.146 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/7.735, allocations: 197.5 kB / 3.146 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/7.735, allocations: 299.5 kB / 3.146 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/7.736, allocations: 244.4 kB / 3.147 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/7.736, allocations: 4 kB / 3.147 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002387/7.738, allocations: 0.6642 MB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/7.738, allocations: 5.719 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/7.738, allocations: 4.062 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/7.739, allocations: 80.78 kB / 3.147 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/7.741, allocations: 155.8 kB / 3.147 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/7.745, allocations: 1.457 MB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/7.747, allocations: 67.55 kB / 3.149 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/7.747, allocations: 31.97 kB / 3.149 GB, free: 109 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 (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.0003778/7.747, allocations: 124.8 kB / 3.149 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003776/7.751, allocations: 0.672 MB / 3.15 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/7.752, allocations: 75.16 kB / 3.15 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/7.757, allocations: 0.9422 MB / 3.151 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/7.757, allocations: 8 kB / 3.151 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/7.757, allocations: 0 / 3.151 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/7.757, allocations: 7.984 kB / 3.151 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/7.758, allocations: 0.7709 MB / 3.151 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/7.758, allocations: 0 / 3.151 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/7.76, allocations: 167.7 kB / 3.152 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008374/7.76, allocations: 84.77 kB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/7.761, allocations: 15.98 kB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/7.763, allocations: 1.469 MB / 3.153 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/7.763, allocations: 4.031 kB / 3.153 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/7.766, allocations: 0.7738 MB / 3.154 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/7.766, allocations: 275.8 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/7.767, allocations: 8 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/7.768, allocations: 71.88 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/7.768, allocations: 56.83 kB / 3.154 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/7.768, allocations: 31.98 kB / 3.154 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007187/7.769, allocations: 406.9 kB / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/7.769, allocations: 0 / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001383/7.77, allocations: 311 kB / 3.155 GB, free: 102.5 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 (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.0048/7.775, allocations: 2.261 MB / 3.157 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001978/7.777, allocations: 0.6708 MB / 3.158 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/7.777, allocations: 0 / 3.158 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/7.778, allocations: 452.6 kB / 3.158 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/7.78, allocations: 223.9 kB / 3.159 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/7.786, allocations: 1.51 MB / 3.16 GB, free: 97.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/7.787, allocations: 1.042 MB / 3.161 GB, free: 96.33 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001669/7.788, allocations: 257.8 kB / 3.161 GB, free: 96.08 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/7.789, allocations: 371.3 kB / 3.162 GB, free: 95.72 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/7.789, allocations: 3.938 kB / 3.162 GB, free: 95.71 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08865/7.878, allocations: 23.22 MB / 3.184 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/7.878, allocations: 219.8 kB / 3.185 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/11.48, allocations: 0 / 3.185 GB, free: 72.32 MB / 0.8698 GB