Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.272/2.272, allocations: 248.7 MB / 256.2 MB, free: 7.113 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.001429/0.001428, allocations: 172 kB / 315.4 MB, free: 4.012 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.054/2.054, 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.001111/0.00111, allocations: 89.53 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.601e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.248/7.459, allocations: 2.192 GB / 3.076 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/7.46, allocations: 94.69 kB / 3.076 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2506/7.71, allocations: 66.9 MB / 3.141 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/7.71, allocations: 4 kB / 3.141 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.749e-05/7.71, allocations: 24 kB / 3.141 GB, free: 117.4 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002976/7.713, allocations: 1.219 MB / 3.143 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/7.713, allocations: 8.031 kB / 3.143 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007226/7.721, allocations: 0.654 MB / 3.143 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/7.722, allocations: 0.6736 MB / 3.144 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/7.723, allocations: 35.94 kB / 3.144 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/7.723, allocations: 59.98 kB / 3.144 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003351/7.726, allocations: 1.397 MB / 3.145 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/7.729, allocations: 0.9968 MB / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/7.729, allocations: 0 / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/7.729, allocations: 0 / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/7.729, allocations: 24 kB / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008836/7.738, allocations: 2.95 MB / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/7.74, allocations: 0.9293 MB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/7.741, allocations: 415.1 kB / 3.151 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/7.742, allocations: 486.4 kB / 3.151 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/7.743, allocations: 0.5727 MB / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 5.35e-06/7.743, allocations: 0 / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.008081/7.751, allocations: 1.399 MB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/7.751, allocations: 252.6 kB / 3.153 GB, free: 105 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/7.752, allocations: 0.4944 MB / 3.154 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/7.752, allocations: 29.7 kB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/7.753, allocations: 412.4 kB / 3.154 GB, free: 104 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/7.753, allocations: 315.3 kB / 3.154 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/7.753, allocations: 0 / 3.154 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001395/7.753, allocations: 374.8 kB / 3.155 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007992/7.754, allocations: 318.6 kB / 3.155 GB, free: 103 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/7.755, allocations: 433.1 kB / 3.155 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005697/7.761, allocations: 0.8104 MB / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/7.761, allocations: 0 / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.008069/7.769, allocations: 1.403 MB / 3.158 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/7.769, allocations: 4 kB / 3.158 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/7.769, allocations: 0 / 3.158 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/7.77, allocations: 88.83 kB / 3.158 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/7.773, allocations: 231.7 kB / 3.158 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/7.775, allocations: 1.461 MB / 3.159 GB, free: 98.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/7.777, allocations: 119.4 kB / 3.16 GB, free: 98.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/7.777, allocations: 35.97 kB / 3.16 GB, free: 98.29 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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.0003674/7.778, allocations: 124.8 kB / 3.16 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008045/7.786, allocations: 1.399 MB / 3.161 GB, free: 96.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/7.786, allocations: 75.06 kB / 3.161 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009223/7.796, allocations: 1.736 MB / 3.163 GB, free: 94.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/7.796, allocations: 16 kB / 3.163 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-06/7.796, allocations: 0 / 3.163 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/7.796, allocations: 7.938 kB / 3.163 GB, free: 94.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/7.797, allocations: 0.9572 MB / 3.164 GB, free: 93.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/7.797, allocations: 0 / 3.164 GB, free: 93.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/7.8, allocations: 239.7 kB / 3.164 GB, free: 93.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/7.801, allocations: 84.73 kB / 3.164 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/7.801, allocations: 23.97 kB / 3.164 GB, free: 93.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/7.803, allocations: 1.477 MB / 3.166 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/7.803, allocations: 0 / 3.166 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008112/7.811, allocations: 1.518 MB / 3.167 GB, free: 90.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/7.812, allocations: 315.5 kB / 3.167 GB, free: 90.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/7.812, allocations: 8 kB / 3.167 GB, free: 90.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/7.814, allocations: 95.89 kB / 3.167 GB, free: 90 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/7.814, allocations: 73.2 kB / 3.167 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/7.815, allocations: 47.97 kB / 3.168 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006717/7.815, allocations: 402.9 kB / 3.168 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/7.815, allocations: 0 / 3.168 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001488/7.817, allocations: 366.9 kB / 3.168 GB, free: 89.12 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 (111): * Single equations (assignments): 108 * 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.01057/7.827, allocations: 3.023 MB / 3.171 GB, free: 86.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002808/7.83, allocations: 0.9606 MB / 3.172 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/7.83, allocations: 0 / 3.172 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/7.832, allocations: 0.6199 MB / 3.173 GB, free: 84.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/7.834, allocations: 210.8 kB / 3.173 GB, free: 84.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006461/7.84, allocations: 1.736 MB / 3.175 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/7.841, allocations: 1.071 MB / 3.176 GB, free: 81.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002462/7.843, allocations: 322.6 kB / 3.176 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/7.844, allocations: 411.2 kB / 3.176 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-06/7.844, allocations: 0 / 3.176 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0965/7.941, allocations: 26.06 MB / 3.202 GB, free: 54.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/7.941, allocations: 226.8 kB / 3.202 GB, free: 54.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/11.73, allocations: 4 kB / 3.202 GB, free: 54.54 MB / 0.8698 GB