Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.265/2.265, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.001496/0.001496, allocations: 178.1 kB / 315.4 MB, free: 3.984 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.051/2.051, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001066/0.001066, allocations: 90.03 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.747e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.094/7.297, allocations: 2.194 GB / 3.078 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/7.297, allocations: 90.56 kB / 3.078 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3763/7.673, allocations: 95.24 MB / 3.171 GB, free: 86.67 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.485e-06/7.673, allocations: 0 / 3.171 GB, free: 86.67 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001425/7.674, allocations: 47.94 kB / 3.171 GB, free: 86.62 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.00565/7.679, allocations: 1.859 MB / 3.173 GB, free: 84.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/7.679, allocations: 8.031 kB / 3.173 GB, free: 84.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/7.707, allocations: 1.788 MB / 3.175 GB, free: 82.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/7.71, allocations: 1.036 MB / 3.176 GB, free: 81.83 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/7.711, allocations: 60 kB / 3.176 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006652/7.711, allocations: 112 kB / 3.176 GB, free: 81.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008044/7.719, allocations: 2.768 MB / 3.179 GB, free: 78.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006053/7.725, allocations: 2.084 MB / 3.181 GB, free: 76.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/7.725, allocations: 0 / 3.181 GB, free: 76.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/7.726, allocations: 11.92 kB / 3.181 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/7.726, allocations: 44 kB / 3.181 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/7.747, allocations: 5.928 MB / 3.187 GB, free: 70.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/7.752, allocations: 1.904 MB / 3.189 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/7.755, allocations: 0.9895 MB / 3.19 GB, free: 67.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/7.756, allocations: 0.4996 MB / 3.19 GB, free: 67.22 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003123/7.759, allocations: 1.235 MB / 3.191 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 5.43e-06/7.759, allocations: 4 kB / 3.191 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.02085/7.78, allocations: 3.389 MB / 3.195 GB, free: 62.56 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/7.78, allocations: 253.3 kB / 3.195 GB, free: 62.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/7.781, allocations: 0.6569 MB / 3.196 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007177/7.782, allocations: 25.7 kB / 3.196 GB, free: 61.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/7.783, allocations: 0.6332 MB / 3.196 GB, free: 60.92 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/7.784, allocations: 0.5925 MB / 3.197 GB, free: 60.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/7.784, allocations: 0 / 3.197 GB, free: 60.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001504/7.784, allocations: 365.9 kB / 3.197 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/7.787, allocations: 0.7499 MB / 3.198 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/7.79, allocations: 0.9189 MB / 3.199 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/7.806, allocations: 2.219 MB / 3.201 GB, free: 56.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/7.806, allocations: 0 / 3.201 GB, free: 56.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.02148/7.828, allocations: 3.429 MB / 3.204 GB, free: 52.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/7.828, allocations: 5.875 kB / 3.204 GB, free: 52.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/7.828, allocations: 4 kB / 3.204 GB, free: 52.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/7.829, allocations: 88.86 kB / 3.204 GB, free: 52.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006781/7.836, allocations: 0.5422 MB / 3.205 GB, free: 51.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/7.838, allocations: 1.465 MB / 3.206 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/7.843, allocations: 266.5 kB / 3.207 GB, free: 50.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007606/7.844, allocations: 87.89 kB / 3.207 GB, free: 50.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0007171/7.845, allocations: 143.2 kB / 3.207 GB, free: 49.87 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02103/7.866, allocations: 3.389 MB / 3.21 GB, free: 46.47 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/7.867, allocations: 126.4 kB / 3.21 GB, free: 46.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/7.89, allocations: 3.975 MB / 3.214 GB, free: 42.35 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/7.891, allocations: 27.94 kB / 3.214 GB, free: 42.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/7.891, allocations: 0 / 3.214 GB, free: 42.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/7.891, allocations: 11.95 kB / 3.214 GB, free: 42.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02574/7.916, allocations: 5.932 MB / 3.22 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/7.916, allocations: 4 kB / 3.22 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006433/7.923, allocations: 0.5266 MB / 3.22 GB, free: 35.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/7.924, allocations: 88.73 kB / 3.221 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004827/7.924, allocations: 43.92 kB / 3.221 GB, free: 35.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/7.927, allocations: 1.488 MB / 3.222 GB, free: 34.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/7.927, allocations: 7.969 kB / 3.222 GB, free: 34.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/7.947, allocations: 3.577 MB / 3.225 GB, free: 30.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/7.949, allocations: 0.522 MB / 3.226 GB, free: 29.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/7.949, allocations: 3.984 kB / 3.226 GB, free: 29.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004734/7.954, allocations: 215.8 kB / 3.226 GB, free: 29.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/7.954, allocations: 121.8 kB / 3.226 GB, free: 29.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/7.954, allocations: 79.91 kB / 3.226 GB, free: 29.49 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001005/7.955, allocations: 0.546 MB / 3.227 GB, free: 28.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/7.956, allocations: 0 / 3.227 GB, free: 28.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002575/7.958, allocations: 0.5373 MB / 3.227 GB, free: 28.41 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.02345/7.982, allocations: 5.098 MB / 3.232 GB, free: 23.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006199/7.988, allocations: 2.073 MB / 3.234 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/7.988, allocations: 0 / 3.234 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/7.991, allocations: 1.212 MB / 3.236 GB, free: 20.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/7.994, allocations: 238.1 kB / 3.236 GB, free: 19.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/8.005, allocations: 2.936 MB / 3.239 GB, free: 16.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009746/8.006, allocations: 1.357 MB / 3.24 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006083/8.012, allocations: 0.5341 MB / 3.241 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002641/8.015, allocations: 0.7452 MB / 3.241 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/8.015, allocations: 0 / 3.241 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7408/8.756, allocations: 40.13 MB / 3.281 GB, free: 264.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/8.756, allocations: 194.1 kB / 3.281 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.224/12.98, allocations: 0 / 3.281 GB, free: 264.1 MB / 0.8698 GB