Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.179/2.179, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001584/0.001584, allocations: 170.2 kB / 315.4 MB, free: 4 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.041/2.041, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 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.001544/0.001544, allocations: 104.1 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.02e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.095/7.297, allocations: 2.191 GB / 3.075 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/7.297, allocations: 87.83 kB / 3.075 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3009/7.598, allocations: 77.05 MB / 3.15 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.146e-06/7.598, allocations: 0 / 3.15 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001481/7.598, allocations: 35.92 kB / 3.15 GB, free: 108.3 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004057/7.602, allocations: 1.234 MB / 3.151 GB, free: 107 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/7.603, allocations: 8.031 kB / 3.151 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/7.605, allocations: 222.1 kB / 3.152 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/7.607, allocations: 0.7094 MB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/7.608, allocations: 39.98 kB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/7.608, allocations: 60 kB / 3.152 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003913/7.612, allocations: 1.113 MB / 3.154 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/7.615, allocations: 0.9139 MB / 3.154 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/7.615, allocations: 0 / 3.154 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/7.616, allocations: 4 kB / 3.154 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/7.616, allocations: 24 kB / 3.154 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009039/7.625, allocations: 2.809 MB / 3.157 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/7.626, allocations: 0.6967 MB / 3.158 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/7.627, allocations: 259.2 kB / 3.158 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/7.627, allocations: 28.8 kB / 3.158 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/7.628, allocations: 411.7 kB / 3.159 GB, free: 99.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/7.628, allocations: 0 / 3.159 GB, free: 99.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.002494/7.63, allocations: 0.673 MB / 3.159 GB, free: 98.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/7.63, allocations: 256.1 kB / 3.159 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/7.631, allocations: 0.5426 MB / 3.16 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/7.631, allocations: 33.64 kB / 3.16 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/7.632, allocations: 0.4917 MB / 3.16 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/7.632, allocations: 248.2 kB / 3.161 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/7.632, allocations: 0 / 3.161 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001238/7.632, allocations: 382.7 kB / 3.161 GB, free: 96.82 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/7.633, allocations: 205.5 kB / 3.161 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/7.633, allocations: 315.5 kB / 3.162 GB, free: 96.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/7.634, allocations: 256.4 kB / 3.162 GB, free: 96.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/7.634, allocations: 0 / 3.162 GB, free: 96.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002332/7.636, allocations: 0.6954 MB / 3.163 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/7.636, allocations: 4 kB / 3.163 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/7.636, allocations: 0 / 3.163 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009668/7.637, allocations: 84.84 kB / 3.163 GB, free: 95.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/7.639, allocations: 151.8 kB / 3.163 GB, free: 95.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/7.641, allocations: 1.462 MB / 3.164 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/7.642, allocations: 63.59 kB / 3.164 GB, free: 93.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/7.642, allocations: 35.97 kB / 3.164 GB, free: 93.4 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 (83): * Single equations (assignments): 82 * 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.0002303/7.642, allocations: 112.9 kB / 3.164 GB, free: 93.29 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002224/7.645, allocations: 0.6874 MB / 3.165 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/7.645, allocations: 83.02 kB / 3.165 GB, free: 92.51 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/7.648, allocations: 0.9275 MB / 3.166 GB, free: 91.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/7.648, allocations: 8 kB / 3.166 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/7.648, allocations: 3.984 kB / 3.166 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/7.648, allocations: 4.094 kB / 3.166 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/7.65, allocations: 0.8528 MB / 3.167 GB, free: 90.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/7.65, allocations: 0 / 3.167 GB, free: 90.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/7.651, allocations: 147.8 kB / 3.167 GB, free: 90.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/7.652, allocations: 80.78 kB / 3.167 GB, free: 90.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/7.652, allocations: 15.98 kB / 3.167 GB, free: 90.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/7.654, allocations: 1.481 MB / 3.169 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/7.654, allocations: 4.031 kB / 3.169 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/7.656, allocations: 0.7894 MB / 3.169 GB, free: 88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/7.657, allocations: 279.8 kB / 3.17 GB, free: 87.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/7.657, allocations: 7.984 kB / 3.17 GB, free: 87.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/7.658, allocations: 51.95 kB / 3.17 GB, free: 87.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/7.658, allocations: 56.69 kB / 3.17 GB, free: 87.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/7.658, allocations: 39.94 kB / 3.17 GB, free: 87.55 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007264/7.659, allocations: 443.1 kB / 3.17 GB, free: 87.12 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.11e-07/7.659, allocations: 0 / 3.17 GB, free: 87.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00133/7.661, allocations: 350.5 kB / 3.171 GB, free: 86.78 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 (89): * Single equations (assignments): 86 * 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.004813/7.665, allocations: 2.279 MB / 3.173 GB, free: 84.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001869/7.667, allocations: 0.6905 MB / 3.173 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/7.667, allocations: 0 / 3.173 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/7.668, allocations: 460.7 kB / 3.174 GB, free: 83.41 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/7.67, allocations: 231.9 kB / 3.174 GB, free: 83.19 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/7.676, allocations: 1.682 MB / 3.176 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/7.677, allocations: 1.105 MB / 3.177 GB, free: 80.33 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001438/7.678, allocations: 250.2 kB / 3.177 GB, free: 80.08 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/7.679, allocations: 447.3 kB / 3.177 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/7.679, allocations: 0 / 3.177 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08938/7.769, allocations: 24.2 MB / 3.201 GB, free: 55.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/7.769, allocations: 204.7 kB / 3.201 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/11.4, allocations: 0 / 3.201 GB, free: 55.27 MB / 0.8698 GB