Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.288/2.288, allocations: 248.7 MB / 256.2 MB, free: 7.023 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.001455/0.001455, allocations: 171.4 kB / 315.4 MB, free: 4.008 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.079/2.079, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001518/0.001518, allocations: 94.03 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.157e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.254/7.456, allocations: 2.191 GB / 3.075 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/7.456, allocations: 93.88 kB / 3.075 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2408/7.697, allocations: 65.42 MB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/7.697, allocations: 0 / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.995e-05/7.697, allocations: 24 kB / 3.139 GB, free: 120 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002305/7.7, allocations: 1.087 MB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/7.7, allocations: 8.031 kB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/7.701, allocations: 210.5 kB / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/7.703, allocations: 0.6308 MB / 3.141 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/7.703, allocations: 28 kB / 3.141 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/7.703, allocations: 51.98 kB / 3.141 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002182/7.705, allocations: 1.019 MB / 3.142 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/7.707, allocations: 0.7701 MB / 3.142 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/7.707, allocations: 3.938 kB / 3.142 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/7.707, allocations: 4 kB / 3.142 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/7.707, allocations: 23.98 kB / 3.143 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/7.713, allocations: 2.376 MB / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/7.714, allocations: 0.6578 MB / 3.145 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/7.715, allocations: 243.2 kB / 3.146 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/7.716, allocations: 479.4 kB / 3.146 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000864/7.717, allocations: 399.7 kB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.547e-06/7.717, allocations: 0 / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.007261/7.724, allocations: 1.121 MB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/7.724, allocations: 252.1 kB / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/7.725, allocations: 0.4944 MB / 3.148 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/7.725, allocations: 25.7 kB / 3.148 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/7.726, allocations: 396.1 kB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/7.726, allocations: 232.5 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/7.726, allocations: 0 / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/7.726, allocations: 374.8 kB / 3.149 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/7.727, allocations: 189.5 kB / 3.15 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/7.727, allocations: 299.5 kB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/7.733, allocations: 0.7031 MB / 3.15 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/7.733, allocations: 0 / 3.15 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006978/7.74, allocations: 1.121 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/7.74, allocations: 10.03 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/7.74, allocations: 0 / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/7.741, allocations: 80.84 kB / 3.152 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/7.742, allocations: 139.8 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/7.744, allocations: 1.461 MB / 3.153 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/7.745, allocations: 59.5 kB / 3.153 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/7.745, allocations: 27.97 kB / 3.153 GB, free: 104.5 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.0002261/7.746, allocations: 120.9 kB / 3.153 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006718/7.752, allocations: 1.125 MB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/7.753, allocations: 71.16 kB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007788/7.76, allocations: 1.394 MB / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/7.76, allocations: 8 kB / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/7.76, allocations: 3.984 kB / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/7.761, allocations: 3.984 kB / 3.156 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/7.762, allocations: 0.7521 MB / 3.157 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/7.762, allocations: 0 / 3.157 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/7.763, allocations: 151.8 kB / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/7.764, allocations: 84.77 kB / 3.157 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/7.764, allocations: 15.94 kB / 3.157 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/7.766, allocations: 1.481 MB / 3.158 GB, free: 99.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/7.766, allocations: 0 / 3.158 GB, free: 99.11 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/7.773, allocations: 1.227 MB / 3.16 GB, free: 97.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/7.774, allocations: 275.8 kB / 3.16 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/7.774, allocations: 0 / 3.16 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/7.775, allocations: 55.94 kB / 3.16 GB, free: 97.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/7.775, allocations: 64.69 kB / 3.16 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/7.775, allocations: 39.92 kB / 3.16 GB, free: 97.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000646/7.776, allocations: 406.9 kB / 3.16 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-07/7.776, allocations: 0 / 3.16 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001321/7.777, allocations: 331 kB / 3.161 GB, free: 96.69 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 (84): * Single equations (assignments): 81 * 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.009255/7.786, allocations: 2.725 MB / 3.163 GB, free: 94.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001841/7.788, allocations: 0.655 MB / 3.164 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/7.788, allocations: 0 / 3.164 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009816/7.789, allocations: 444.6 kB / 3.164 GB, free: 92.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/7.791, allocations: 214.9 kB / 3.165 GB, free: 92.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/7.797, allocations: 1.514 MB / 3.166 GB, free: 91.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/7.797, allocations: 1.039 MB / 3.167 GB, free: 90.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001367/7.799, allocations: 261.7 kB / 3.167 GB, free: 89.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/7.799, allocations: 371.2 kB / 3.168 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/7.799, allocations: 4 kB / 3.168 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09189/7.891, allocations: 23.24 MB / 3.19 GB, free: 66.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/7.892, allocations: 206.1 kB / 3.191 GB, free: 66.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.797/11.69, allocations: 0 / 3.191 GB, free: 66.05 MB / 0.8698 GB