Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009924, allocations: 180.7 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 426.3 MB, free: 8.367 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007327/0.0007328, allocations: 92.44 kB / 0.4945 GB, free: 8.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001808/0.001808, allocations: 273.4 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4505, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.219, allocations: 2.046 GB / 2.786 GB, free: 162 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/5.219, allocations: 91.89 kB / 2.786 GB, free: 161.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2025/5.422, allocations: 97.89 MB / 2.881 GB, free: 63.61 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.537e-06/5.422, allocations: 0 / 2.881 GB, free: 63.61 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001774/5.422, allocations: 43.94 kB / 2.881 GB, free: 63.56 MB / 0.6667 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.005557/5.427, allocations: 1.996 MB / 2.883 GB, free: 61.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/5.427, allocations: 12.02 kB / 2.883 GB, free: 61.49 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/5.439, allocations: 1.793 MB / 2.885 GB, free: 59.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/5.441, allocations: 1.072 MB / 2.886 GB, free: 58.58 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/5.442, allocations: 140.1 kB / 2.886 GB, free: 58.45 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000853/5.443, allocations: 180.4 kB / 2.886 GB, free: 58.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009099/5.452, allocations: 2.935 MB / 2.889 GB, free: 55.29 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/5.452, allocations: 4.188 kB / 2.889 GB, free: 55.29 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005412/5.452, allocations: 83.94 kB / 2.889 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/5.452, allocations: 44 kB / 2.889 GB, free: 55.16 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/5.464, allocations: 4.007 MB / 2.893 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/5.478, allocations: 6.24 MB / 2.899 GB, free: 44.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007844/5.486, allocations: 2.736 MB / 2.902 GB, free: 42.08 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/5.49, allocations: 1.38 MB / 2.903 GB, free: 40.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/5.49, allocations: 0.5074 MB / 2.904 GB, free: 40.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004259/5.495, allocations: 1.64 MB / 2.905 GB, free: 38.44 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=192): time 7.905e-06/5.495, allocations: 7.938 kB / 2.905 GB, free: 38.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=192): time 0.01354/5.508, allocations: 4.052 MB / 2.909 GB, free: 34.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/5.508, allocations: 257.3 kB / 2.91 GB, free: 34.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/5.51, allocations: 0.861 MB / 2.911 GB, free: 33.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/5.51, allocations: 57.7 kB / 2.911 GB, free: 33.11 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/5.511, allocations: 0.6335 MB / 2.911 GB, free: 32.47 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/5.512, allocations: 0.6198 MB / 2.912 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/5.512, allocations: 39.94 kB / 2.912 GB, free: 31.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001165/5.512, allocations: 361.9 kB / 2.912 GB, free: 31.44 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/5.515, allocations: 1.12 MB / 2.913 GB, free: 30.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/5.519, allocations: 1.317 MB / 2.915 GB, free: 28.97 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006723/5.526, allocations: 2.383 MB / 2.917 GB, free: 26.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/5.526, allocations: 0 / 2.917 GB, free: 26.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007941/5.534, allocations: 2.792 MB / 2.92 GB, free: 23.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/5.534, allocations: 4 kB / 2.92 GB, free: 23.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/5.534, allocations: 4 kB / 2.92 GB, free: 23.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/5.534, allocations: 88.86 kB / 2.92 GB, free: 23.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/5.537, allocations: 0.5383 MB / 2.92 GB, free: 23.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/5.539, allocations: 1.532 MB / 2.922 GB, free: 21.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/5.542, allocations: 310.3 kB / 2.922 GB, free: 21.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/5.542, allocations: 91.89 kB / 2.922 GB, free: 21.06 MB / 0.6667 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.001046/5.543, allocations: 373.5 kB / 2.922 GB, free: 20.69 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/5.543, allocations: 134.4 kB / 2.923 GB, free: 20.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008944/5.552, allocations: 3.389 MB / 2.926 GB, free: 17.14 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/5.552, allocations: 20 kB / 2.926 GB, free: 17.12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/5.552, allocations: 4 kB / 2.926 GB, free: 17.12 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/5.552, allocations: 11.95 kB / 2.926 GB, free: 17.11 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/5.563, allocations: 5.561 MB / 2.931 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/5.564, allocations: 0 / 2.931 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/5.566, allocations: 0.5266 MB / 2.932 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/5.567, allocations: 92.7 kB / 2.932 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/5.567, allocations: 67.92 kB / 2.932 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/5.569, allocations: 1.54 MB / 2.934 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/5.569, allocations: 7.969 kB / 2.934 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/5.577, allocations: 2.953 MB / 2.936 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/5.578, allocations: 0.5297 MB / 2.937 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/5.578, allocations: 43.94 kB / 2.937 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/5.58, allocations: 247.8 kB / 2.937 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/5.58, allocations: 121.8 kB / 2.937 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/5.581, allocations: 83.91 kB / 2.937 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009173/5.582, allocations: 0.649 MB / 2.938 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.052e-06/5.582, allocations: 0 / 2.938 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001861/5.583, allocations: 0.6115 MB / 2.939 GB, free: 3.816 MB / 0.6667 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.002033/5.585, allocations: 1.081 MB / 2.94 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.348/5.934, allocations: 2.851 MB / 2.943 GB, free: 197.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/5.934, allocations: 0.6562 kB / 2.943 GB, free: 197.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005839/5.939, allocations: 1.605 MB / 2.944 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/5.941, allocations: 306.2 kB / 2.944 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/5.952, allocations: 4.501 MB / 2.949 GB, free: 195.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/5.953, allocations: 1.329 MB / 2.95 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003579/5.956, allocations: 0.5467 MB / 2.951 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008493/5.957, allocations: 212.6 kB / 2.951 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of SimCode: time 8.91e-07/5.957, allocations: 0 / 2.951 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.04952/6.007, allocations: 32.64 MB / 2.983 GB, free: 192.9 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)