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.006152/0.006152, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 239 MB, free: 1.766 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.000881/0.0008809, allocations: 94.94 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02404/0.02404, allocations: 5.399 MB / 346.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 7.281 kB / 408.8 MB, free: 91.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09059, allocations: 51.63 MB / 460.4 MB, free: 48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08673/0.1774, allocations: 78.12 MB / 0.5259 GB, free: 1.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.1776, allocations: 67.92 kB / 0.526 GB, free: 1.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2294/0.407, allocations: 5.148 MB / 0.531 GB, free: 78.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4071, allocations: 0 / 0.531 GB, free: 78.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.4071, allocations: 6.406 kB / 0.531 GB, free: 78.53 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.000719/0.4078, allocations: 451.4 kB / 0.5314 GB, free: 78.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4079, allocations: 10.38 kB / 0.5315 GB, free: 78.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.4079, allocations: 14.95 kB / 0.5315 GB, free: 78.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.4081, allocations: 208.2 kB / 0.5317 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4082, allocations: 7.469 kB / 0.5317 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.4082, allocations: 11.56 kB / 0.5317 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.4086, allocations: 176.3 kB / 0.5319 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4086, allocations: 2.125 kB / 0.5319 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.4087, allocations: 3.938 kB / 0.5319 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4087, allocations: 3.562 kB / 0.5319 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.4091, allocations: 135.2 kB / 0.532 GB, free: 77.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.4098, allocations: 0.604 MB / 0.5326 GB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.4105, allocations: 203.3 kB / 0.5328 GB, free: 77.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/0.4106, allocations: 91.23 kB / 0.5329 GB, free: 77.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.411, allocations: 201.5 kB / 0.5331 GB, free: 77.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.411, allocations: 0 / 0.5331 GB, free: 77.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008016/0.4118, allocations: 413.1 kB / 0.5334 GB, free: 76.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4119, allocations: 144.6 kB / 0.5336 GB, free: 76.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.412, allocations: 117.1 kB / 0.5337 GB, free: 76.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.412, allocations: 35.5 kB / 0.5337 GB, free: 76.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.4121, allocations: 94.77 kB / 0.5338 GB, free: 76.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.4121, allocations: 83.03 kB / 0.5339 GB, free: 76.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.4122, allocations: 3.938 kB / 0.5339 GB, free: 76.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.4122, allocations: 321.9 kB / 0.5342 GB, free: 76.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.4124, allocations: 70.95 kB / 0.5343 GB, free: 76.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.4127, allocations: 117.6 kB / 0.5344 GB, free: 76.18 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) (/*Real*/(PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.4179, allocations: 0.6395 MB / 0.535 GB, free: 76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4179, allocations: 0 / 0.535 GB, free: 76 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006523/0.4186, allocations: 294.8 kB / 0.5353 GB, free: 75.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.4187, allocations: 32.23 kB / 0.5353 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4187, allocations: 0.75 kB / 0.5353 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4187, allocations: 3.953 kB / 0.5353 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.4191, allocations: 77.67 kB / 0.5354 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4191, allocations: 1.406 kB / 0.5354 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.4194, allocations: 20.11 kB / 0.5354 GB, free: 75.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.4194, allocations: 17.36 kB / 0.5354 GB, free: 75.87 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 () * Number of clocked 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.0001825/0.4196, allocations: 169.7 kB / 0.5356 GB, free: 75.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.4196, allocations: 17.17 kB / 0.5356 GB, free: 75.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.4206, allocations: 457.8 kB / 0.5361 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4206, allocations: 2.719 kB / 0.5361 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4206, allocations: 1.375 kB / 0.5361 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4206, allocations: 2.016 kB / 0.5361 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.421, allocations: 306.3 kB / 0.5364 GB, free: 75.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.421, allocations: 0 / 0.5364 GB, free: 75.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.4213, allocations: 60.3 kB / 0.5364 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4213, allocations: 6.031 kB / 0.5364 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4213, allocations: 10.61 kB / 0.5364 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.4214, allocations: 2.125 kB / 0.5364 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4214, allocations: 1.75 kB / 0.5364 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.4223, allocations: 494.3 kB / 0.5369 GB, free: 75.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.4223, allocations: 109.4 kB / 0.537 GB, free: 75.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.4224, allocations: 8.219 kB / 0.537 GB, free: 75.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4226, allocations: 13.84 kB / 0.537 GB, free: 75.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.4227, allocations: 34.66 kB / 0.5371 GB, free: 75.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.4227, allocations: 15.38 kB / 0.5371 GB, free: 75.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.4228, allocations: 105.5 kB / 0.5372 GB, free: 75.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4228, allocations: 0 / 0.5372 GB, free: 75.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.4232, allocations: 81.39 kB / 0.5373 GB, free: 75.07 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) * Number of clocked states: 0 () * 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.000211/0.4234, allocations: 142.9 kB / 0.5374 GB, free: 74.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.4241, allocations: 288.6 kB / 0.5377 GB, free: 74.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4241, allocations: 0 / 0.5377 GB, free: 74.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.4245, allocations: 227.6 kB / 0.5379 GB, free: 74.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4248, allocations: 31.17 kB / 0.5379 GB, free: 74.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.4257, allocations: 0.5292 MB / 0.5384 GB, free: 74.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.4258, allocations: 0.7363 MB / 0.5391 GB, free: 73.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.426, allocations: 34.77 kB / 0.5392 GB, free: 73.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4261, allocations: 40.39 kB / 0.5392 GB, free: 73.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4261, allocations: 0 / 0.5392 GB, free: 73.79 MB / 362.7 MB Notification: Performance of Templates: time 0.005711/0.4318, allocations: 2.988 MB / 0.5421 GB, free: 72.78 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)