Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 229.6 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009115, allocations: 91.34 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02516/0.02516, allocations: 5.285 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.757e-05, allocations: 0 / 394.4 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 51.59 MB / 446 MB, free: 12.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4784, allocations: 77.39 MB / 0.5111 GB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4788, allocations: 63.97 kB / 0.5111 GB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02075/0.4996, allocations: 5.125 MB / 0.5162 GB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4996, allocations: 0 / 0.5162 GB, free: 10.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.4996, allocations: 4 kB / 0.5162 GB, free: 10.28 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001006/0.5007, allocations: 447.8 kB / 0.5166 GB, free: 9.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.5007, allocations: 8.031 kB / 0.5166 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.5008, allocations: 15.86 kB / 0.5166 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.5012, allocations: 206.8 kB / 0.5168 GB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.5012, allocations: 4 kB / 0.5168 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.5013, allocations: 11.94 kB / 0.5168 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003351/0.5016, allocations: 111.9 kB / 0.5169 GB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.502, allocations: 156.5 kB / 0.5171 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.502, allocations: 4 kB / 0.5171 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.5021, allocations: 0 / 0.5171 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5021, allocations: 7.953 kB / 0.5171 GB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.5031, allocations: 0.5603 MB / 0.5176 GB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.5039, allocations: 182.9 kB / 0.5178 GB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.504, allocations: 70.53 kB / 0.5179 GB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.5042, allocations: 93.2 kB / 0.518 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.5046, allocations: 192.3 kB / 0.5181 GB, free: 8.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.5046, allocations: 0 / 0.5181 GB, free: 8.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009118/0.5055, allocations: 233.4 kB / 0.5184 GB, free: 7.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.5056, allocations: 140.5 kB / 0.5185 GB, free: 7.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.5057, allocations: 115.1 kB / 0.5186 GB, free: 7.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.5058, allocations: 25.7 kB / 0.5186 GB, free: 7.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.5059, allocations: 100.4 kB / 0.5187 GB, free: 7.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.506, allocations: 78.94 kB / 0.5188 GB, free: 7.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.506, allocations: 3.938 kB / 0.5188 GB, free: 7.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5062, allocations: 330.8 kB / 0.5191 GB, free: 6.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.5063, allocations: 55.98 kB / 0.5192 GB, free: 6.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.5066, allocations: 104.2 kB / 0.5193 GB, free: 6.797 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) (0.1591549430918953 * $START.irradiance.Jprime * /*Real*/(PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.005494/0.5121, allocations: 0.6006 MB / 0.5199 GB, free: 6.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5121, allocations: 0 / 0.5199 GB, free: 6.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001171/0.5133, allocations: 277.1 kB / 0.5201 GB, free: 5.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.5133, allocations: 41.69 kB / 0.5202 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5134, allocations: 0 / 0.5202 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.5134, allocations: 4 kB / 0.5202 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.514, allocations: 60.06 kB / 0.5202 GB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.5141, allocations: 7.938 kB / 0.5202 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.5144, allocations: 11.89 kB / 0.5202 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.5145, allocations: 15.98 kB / 0.5203 GB, free: 5.75 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.irradiance.year,irradiance.year,$whenCondition1,$whenCondition2,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.5147, allocations: 149 kB / 0.5204 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.5148, allocations: 19.75 kB / 0.5204 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.5163, allocations: 407.1 kB / 0.5208 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.5163, allocations: 0 / 0.5208 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.5163, allocations: 7.938 kB / 0.5208 GB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5163, allocations: 3.984 kB / 0.5208 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.5168, allocations: 273.7 kB / 0.5211 GB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5168, allocations: 3.938 kB / 0.5211 GB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.5173, allocations: 55.91 kB / 0.5211 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5173, allocations: 0 / 0.5211 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5174, allocations: 11.98 kB / 0.5212 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.5174, allocations: 8 kB / 0.5212 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5174, allocations: 0 / 0.5212 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.5187, allocations: 431 kB / 0.5216 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.5188, allocations: 104.8 kB / 0.5217 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.5188, allocations: 4 kB / 0.5217 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.5191, allocations: 4 kB / 0.5217 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.5193, allocations: 43.88 kB / 0.5217 GB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.5193, allocations: 15.98 kB / 0.5217 GB, free: 4.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.761e-05/0.5194, allocations: 99.28 kB / 0.5218 GB, free: 4.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5194, allocations: 0 / 0.5218 GB, free: 4.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005615/0.52, allocations: 75.83 kB / 0.5219 GB, free: 3.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 6 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition2,irradiance.dayOfYear,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.5204, allocations: 135.1 kB / 0.522 GB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.521, allocations: 243.3 kB / 0.5223 GB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.521, allocations: 4 kB / 0.5223 GB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.5214, allocations: 215.5 kB / 0.5225 GB, free: 3.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.5218, allocations: 25.5 kB / 0.5225 GB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.5227, allocations: 297.5 kB / 0.5228 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5231, allocations: 0.7327 MB / 0.5235 GB, free: 2.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.5234, allocations: 38.05 kB / 0.5235 GB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5236, allocations: 35.41 kB / 0.5236 GB, free: 2.195 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5236, allocations: 0 / 0.5236 GB, free: 2.195 MB / 362.7 MB Notification: Performance of Templates: time 0.2247/0.7484, allocations: 2.869 MB / 0.5264 GB, free: 86.35 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1)