Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002465/0.00247, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.519/1.519, allocations: 165.8 MB / 183.1 MB, free: 5.496 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.763/3.763, allocations: 410.7 MB / 0.6001 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 192.1 kB / 0.6668 GB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004774, allocations: 12 kB / 0.7429 GB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4303, allocations: 67.43 MB / 0.8087 GB, free: 28.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.159/6.589, allocations: 2.037 GB / 2.846 GB, free: 56.94 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/6.59, allocations: 95.06 kB / 2.846 GB, free: 56.89 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7785/7.368, allocations: 97.7 MB / 2.942 GB, free: 179 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.327e-06/7.368, allocations: 2.5 kB / 2.942 GB, free: 179 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001822/7.369, allocations: 43.88 kB / 2.942 GB, free: 179 MB / 0.573 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.008418/7.377, allocations: 2.003 MB / 2.944 GB, free: 178.1 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/7.377, allocations: 10.22 kB / 2.944 GB, free: 178.1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02253/7.4, allocations: 1.799 MB / 2.945 GB, free: 178 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/7.403, allocations: 1.044 MB / 2.946 GB, free: 177.4 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/7.403, allocations: 138.8 kB / 2.947 GB, free: 177.4 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009821/7.404, allocations: 186 kB / 2.947 GB, free: 177.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/7.418, allocations: 2.929 MB / 2.95 GB, free: 176.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/7.419, allocations: 2.625 kB / 2.95 GB, free: 176.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004277/7.419, allocations: 86.84 kB / 2.95 GB, free: 176.5 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/7.419, allocations: 45.67 kB / 2.95 GB, free: 176.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/7.441, allocations: 4.009 MB / 2.954 GB, free: 175.6 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/7.464, allocations: 6.245 MB / 2.96 GB, free: 173 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/7.481, allocations: 2.74 MB / 2.962 GB, free: 172.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007487/7.488, allocations: 1.376 MB / 2.964 GB, free: 170.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/7.489, allocations: 0.5004 MB / 2.964 GB, free: 170.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008286/7.498, allocations: 1.643 MB / 2.966 GB, free: 168.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=192): time 6.993e-06/7.498, allocations: 112 / 2.966 GB, free: 168.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=192): time 0.02558/7.523, allocations: 4.058 MB / 2.97 GB, free: 164.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/7.524, allocations: 261.3 kB / 2.97 GB, free: 164.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/7.525, allocations: 0.8594 MB / 2.971 GB, free: 163.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007446/7.526, allocations: 61.7 kB / 2.971 GB, free: 163.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/7.527, allocations: 0.6317 MB / 2.972 GB, free: 162.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009613/7.528, allocations: 0.6216 MB / 2.972 GB, free: 162.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/7.528, allocations: 32 kB / 2.972 GB, free: 162.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001254/7.528, allocations: 365.9 kB / 2.973 GB, free: 161.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007086/7.535, allocations: 1.124 MB / 2.974 GB, free: 160.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007514/7.543, allocations: 1.313 MB / 2.975 GB, free: 159.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00727/7.55, allocations: 1.162 MB / 2.976 GB, free: 158.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/7.55, allocations: 2.812 kB / 2.976 GB, free: 158.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01677/7.567, allocations: 2.797 MB / 2.979 GB, free: 155.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/7.567, allocations: 17.45 kB / 2.979 GB, free: 155.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/7.567, allocations: 0 / 2.979 GB, free: 155.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009865/7.568, allocations: 92.86 kB / 2.979 GB, free: 155.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006914/7.575, allocations: 0.5323 MB / 2.979 GB, free: 154.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/7.578, allocations: 1.536 MB / 2.981 GB, free: 153 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/7.583, allocations: 306.4 kB / 2.981 GB, free: 152.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007273/7.584, allocations: 87.91 kB / 2.981 GB, free: 152.6 MB / 0.573 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.001592/7.585, allocations: 383.6 kB / 2.982 GB, free: 152.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/7.586, allocations: 142.2 kB / 2.982 GB, free: 152.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02003/7.606, allocations: 3.393 MB / 2.985 GB, free: 148.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/7.606, allocations: 20 kB / 2.985 GB, free: 148.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/7.606, allocations: 3.984 kB / 2.985 GB, free: 148.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-05/7.606, allocations: 7.969 kB / 2.985 GB, free: 148.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/7.63, allocations: 5.554 MB / 2.991 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/7.63, allocations: 3.984 kB / 2.991 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006778/7.637, allocations: 0.5359 MB / 2.991 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/7.638, allocations: 80.78 kB / 2.991 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007258/7.639, allocations: 75.91 kB / 2.991 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/7.641, allocations: 1.54 MB / 2.993 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/7.641, allocations: 0 / 2.993 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/7.658, allocations: 2.952 MB / 2.996 GB, free: 137.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/7.66, allocations: 0.5335 MB / 2.996 GB, free: 137.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/7.661, allocations: 43.8 kB / 2.996 GB, free: 137.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00498/7.666, allocations: 247.8 kB / 2.996 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/7.666, allocations: 123.6 kB / 2.997 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003638/7.666, allocations: 87.86 kB / 2.997 GB, free: 136.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0013/7.668, allocations: 0.649 MB / 2.997 GB, free: 136.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.61e-07/7.668, allocations: 0 / 2.997 GB, free: 136.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002881/7.671, allocations: 0.6039 MB / 2.998 GB, free: 135.5 MB / 0.573 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.002595/7.673, allocations: 1.065 MB / 2.999 GB, free: 134.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01564/7.689, allocations: 2.854 MB / 3.002 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/7.689, allocations: 0 / 3.002 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008136/7.697, allocations: 1.609 MB / 3.003 GB, free: 130.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/7.7, allocations: 325.2 kB / 3.004 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/7.715, allocations: 4.501 MB / 3.008 GB, free: 125.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/7.716, allocations: 1.365 MB / 3.009 GB, free: 124.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0058/7.722, allocations: 0.5424 MB / 3.01 GB, free: 123.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/7.724, allocations: 207.2 kB / 3.01 GB, free: 123.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.744e-06/7.724, allocations: 0 / 3.01 GB, free: 123.5 MB / 0.573 GB Notification: Performance of Templates: time 0.07667/7.801, allocations: 32.44 MB / 3.042 GB, free: 91.38 MB / 0.573 GB