Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.833/1.833, allocations: 288.3 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 187.5 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009794/0.0009795, allocations: 103.4 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004135, allocations: 10.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/6.221, allocations: 2.076 GB / 3.056 GB, free: 194.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/6.221, allocations: 93.5 kB / 3.056 GB, free: 194.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2131/6.434, allocations: 97.95 MB / 3.151 GB, free: 104.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.693e-06/6.434, allocations: 0 / 3.151 GB, free: 104.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000167/6.435, allocations: 39.94 kB / 3.151 GB, free: 104.9 MB / 0.948 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.00648/6.441, allocations: 2.012 MB / 3.153 GB, free: 102.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/6.441, allocations: 8.031 kB / 3.153 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/6.454, allocations: 1.796 MB / 3.155 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/6.457, allocations: 1.032 MB / 3.156 GB, free: 99.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/6.458, allocations: 151.7 kB / 3.156 GB, free: 99.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/6.458, allocations: 184 kB / 3.156 GB, free: 99.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007692/6.466, allocations: 2.922 MB / 3.159 GB, free: 96.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/6.466, allocations: 0 / 3.159 GB, free: 96.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/6.466, allocations: 76 kB / 3.159 GB, free: 96.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/6.466, allocations: 48 kB / 3.159 GB, free: 96.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/6.477, allocations: 3.999 MB / 3.163 GB, free: 92.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/6.491, allocations: 6.245 MB / 3.169 GB, free: 86.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007752/6.499, allocations: 2.744 MB / 3.172 GB, free: 83.42 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007074/6.5, allocations: 0.5035 MB / 3.173 GB, free: 82.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004314/6.504, allocations: 1.632 MB / 3.174 GB, free: 81.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 5.911e-06/6.504, allocations: 0 / 3.174 GB, free: 81.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.01257/6.516, allocations: 4.058 MB / 3.178 GB, free: 77.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/6.517, allocations: 257.3 kB / 3.178 GB, free: 76.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/6.518, allocations: 0.7743 MB / 3.179 GB, free: 76.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/6.518, allocations: 57.7 kB / 3.179 GB, free: 75.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005881/6.519, allocations: 0.6258 MB / 3.18 GB, free: 75.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005748/6.52, allocations: 0.6197 MB / 3.18 GB, free: 74.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/6.52, allocations: 36 kB / 3.18 GB, free: 74.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001185/6.52, allocations: 361.9 kB / 3.181 GB, free: 74.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/6.523, allocations: 1.12 MB / 3.182 GB, free: 73.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/6.527, allocations: 1.313 MB / 3.183 GB, free: 71.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/6.53, allocations: 1.165 MB / 3.184 GB, free: 70.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/6.53, allocations: 0 / 3.184 GB, free: 70.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008604/6.539, allocations: 2.796 MB / 3.187 GB, free: 67.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/6.539, allocations: 9.203 kB / 3.187 GB, free: 67.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/6.539, allocations: 7.938 kB / 3.187 GB, free: 67.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/6.54, allocations: 92.84 kB / 3.187 GB, free: 67.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/6.544, allocations: 0.5383 MB / 3.188 GB, free: 67.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/6.546, allocations: 1.532 MB / 3.189 GB, free: 65.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/6.55, allocations: 314.4 kB / 3.189 GB, free: 65.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008882/6.551, allocations: 87.89 kB / 3.19 GB, free: 65.13 MB / 0.948 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 () * Number of clocked 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.002504/6.554, allocations: 389.5 kB / 3.19 GB, free: 64.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008849/6.555, allocations: 138.3 kB / 3.19 GB, free: 64.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/6.566, allocations: 3.397 MB / 3.193 GB, free: 61.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/6.566, allocations: 20 kB / 3.193 GB, free: 61.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/6.566, allocations: 0 / 3.193 GB, free: 61.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/6.566, allocations: 7.969 kB / 3.193 GB, free: 61.15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/6.579, allocations: 5.561 MB / 3.199 GB, free: 55.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/6.579, allocations: 0 / 3.199 GB, free: 55.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/6.582, allocations: 0.5266 MB / 3.199 GB, free: 55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/6.583, allocations: 88.77 kB / 3.199 GB, free: 54.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/6.583, allocations: 63.92 kB / 3.199 GB, free: 54.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/6.585, allocations: 1.563 MB / 3.201 GB, free: 53.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/6.585, allocations: 0 / 3.201 GB, free: 53.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009014/6.594, allocations: 2.957 MB / 3.204 GB, free: 50.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/6.595, allocations: 0.5336 MB / 3.204 GB, free: 49.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000565/6.596, allocations: 40.02 kB / 3.204 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/6.599, allocations: 251.8 kB / 3.205 GB, free: 49.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/6.599, allocations: 117.8 kB / 3.205 GB, free: 49.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/6.6, allocations: 83.91 kB / 3.205 GB, free: 49.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001254/6.601, allocations: 0.6529 MB / 3.205 GB, free: 48.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/6.601, allocations: 0 / 3.205 GB, free: 48.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00262/6.604, allocations: 0.6039 MB / 3.206 GB, free: 47.86 MB / 0.948 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) * Number of clocked states: 0 () * 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.002942/6.606, allocations: 1.075 MB / 3.207 GB, free: 46.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008827/6.615, allocations: 2.854 MB / 3.21 GB, free: 44.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/6.615, allocations: 0 / 3.21 GB, free: 44.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004674/6.62, allocations: 1.599 MB / 3.211 GB, free: 42.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/6.622, allocations: 283.7 kB / 3.212 GB, free: 42.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/6.633, allocations: 4.493 MB / 3.216 GB, free: 37.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/6.634, allocations: 1.353 MB / 3.217 GB, free: 36.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004747/6.638, allocations: 0.5462 MB / 3.218 GB, free: 35.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/6.64, allocations: 211.2 kB / 3.218 GB, free: 35.48 MB / 0.948 GB Notification: Performance of SimCode: time 2.485e-06/6.64, allocations: 0 / 3.218 GB, free: 35.48 MB / 0.948 GB Notification: Performance of Templates: time 0.05066/6.691, allocations: 32.4 MB / 3.25 GB, free: 3.152 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)