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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 91.06 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 161.3 kB / 22.75 MB, free: 1.648 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02958/0.02958, allocations: 4.223 MB / 263.8 MB, free: 8.961 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=525600,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=525600,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 3.984 kB / 334.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.909e-05, allocations: 2.312 kB / 334.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002117/0.002146, allocations: 1.619 MB / 335.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003161, allocations: 0.697 MB / 336.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.003235, allocations: 8 kB / 336.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.003354, allocations: 11.86 kB / 336.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.00359, allocations: 59.62 kB / 336.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.003796, allocations: 123.5 kB / 336.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.003958, allocations: 179.5 kB / 336.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.004034, allocations: 9.625 kB / 336.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.004226, allocations: 115.8 kB / 337.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.004368, allocations: 103.8 kB / 337.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.004403, allocations: 8 kB / 337.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/0.004498, allocations: 67.95 kB / 337.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.004523, allocations: 27.89 kB / 337.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.004581, allocations: 55.83 kB / 337.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.004784, allocations: 203.4 kB / 337.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004786, allocations: 4 kB / 337.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004787, allocations: 3.938 kB / 337.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004791, allocations: 0 / 337.5 MB, free: 11.37 MB / 266.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.0007334/0.005524, allocations: 391.3 kB / 337.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.005556, allocations: 8.031 kB / 337.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.005634, allocations: 24.84 kB / 337.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.005823, allocations: 157.5 kB / 338.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.005845, allocations: 16.31 kB / 338.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.005882, allocations: 16.36 kB / 338.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.006213, allocations: 203.6 kB / 338.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006223, allocations: 4.188 kB / 338.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.006245, allocations: 7.938 kB / 338.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.006249, allocations: 0 / 338.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.006588, allocations: 165.5 kB / 338.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.007128, allocations: 0.5084 MB / 339 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.007733, allocations: 216.4 kB / 339.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.00792, allocations: 102.5 kB / 339.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.008004, allocations: 8 kB / 339.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.008313, allocations: 244.3 kB / 339.6 MB, free: 9.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.008315, allocations: 0 / 339.6 MB, free: 9.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007967/0.009111, allocations: 405 kB / 340 MB, free: 8.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.009162, allocations: 144.5 kB / 340.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.009248, allocations: 136.8 kB / 340.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.00927, allocations: 29.7 kB / 340.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.009312, allocations: 100.6 kB / 340.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.009361, allocations: 83.38 kB / 340.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.009437, allocations: 57.67 kB / 340.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.009485, allocations: 322.8 kB / 340.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.009671, allocations: 105.6 kB / 340.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.009865, allocations: 145.9 kB / 341.1 MB, free: 7.543 MB / 266.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004588/0.01445, allocations: 0.7887 MB / 341.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01446, allocations: 0 / 341.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005545/0.01501, allocations: 332.7 kB / 342.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.01504, allocations: 31.11 kB / 342.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01505, allocations: 8.109 kB / 342.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.01507, allocations: 4 kB / 342.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.01544, allocations: 63.88 kB / 342.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.01544, allocations: 11.92 kB / 342.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.01563, allocations: 23.83 kB / 342.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.01566, allocations: 15.98 kB / 342.3 MB, free: 6.203 MB / 266.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, 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 (irradiance.year,$PRE.irradiance.year,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,$whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.01577, allocations: 172 kB / 342.5 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.01583, allocations: 27.89 kB / 342.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008053/0.01663, allocations: 486.8 kB / 343 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01664, allocations: 11.98 kB / 343 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.01664, allocations: 3.938 kB / 343 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01665, allocations: 0 / 343 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.01682, allocations: 201.1 kB / 343.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01682, allocations: 0 / 343.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.01709, allocations: 59.91 kB / 343.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/0.0171, allocations: 4 kB / 343.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.01713, allocations: 11.98 kB / 343.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01713, allocations: 0 / 343.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01713, allocations: 0 / 343.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.01792, allocations: 0.5703 MB / 343.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.01794, allocations: 23.86 kB / 343.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.01798, allocations: 15.95 kB / 343.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.01816, allocations: 8 kB / 343.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.01824, allocations: 31.89 kB / 343.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.01827, allocations: 23.86 kB / 344 MB, free: 4.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.01831, allocations: 110.5 kB / 344.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01831, allocations: 0 / 344.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.0186, allocations: 71.88 kB / 344.1 MB, free: 4.305 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.01875, allocations: 123.3 kB / 344.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005184/0.01927, allocations: 326.5 kB / 344.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01927, allocations: 4 kB / 344.6 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.01952, allocations: 224.8 kB / 344.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01982, allocations: 42.31 kB / 344.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.02054, allocations: 453.2 kB / 345.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.593e-05/0.02061, allocations: 129 kB / 345.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.02074, allocations: 33.94 kB / 345.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.02084, allocations: 48.45 kB / 345.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of SimCode: time 2.91e-07/0.02084, allocations: 3.938 kB / 345.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of Templates: time 0.006419/0.02726, allocations: 3.496 MB / 349 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.566791320918128]