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.0009123/0.0009123, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009552/0.0009552, allocations: 173 kB / 23.5 MB, free: 1.051 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 0.9802/0.9802, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.01792/0.01792, allocations: 4.226 MB / 264.5 MB, free: 8.988 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 1.323e-06/1.323e-06, allocations: 0 / 335 MB, free: 14.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.603e-05, allocations: 5.125 kB / 335 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.00206/0.002086, allocations: 1.696 MB / 336.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.003063, allocations: 0.6971 MB / 337.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.003153, allocations: 0 / 337.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.003271, allocations: 15.8 kB / 337.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.003521, allocations: 63.67 kB / 337.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.00374, allocations: 119.5 kB / 337.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.00392, allocations: 187.4 kB / 337.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.00401, allocations: 13.64 kB / 337.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.004197, allocations: 107.8 kB / 337.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.00432, allocations: 103.7 kB / 338 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.004345, allocations: 12 kB / 338 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.004428, allocations: 67.89 kB / 338.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.004453, allocations: 27.89 kB / 338.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.004501, allocations: 51.89 kB / 338.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.004707, allocations: 167.5 kB / 338.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00471, allocations: 0 / 338.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004711, allocations: 4 kB / 338.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.004716, allocations: 3.938 kB / 338.3 MB, free: 11.31 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.0005839/0.0053, allocations: 493.6 kB / 338.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.005339, allocations: 12.02 kB / 338.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.005407, allocations: 24.84 kB / 338.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.005584, allocations: 160.4 kB / 339 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.005607, allocations: 16.31 kB / 339 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.005631, allocations: 12.38 kB / 339 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.005886, allocations: 200.6 kB / 339.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005895, allocations: 4.188 kB / 339.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.005911, allocations: 7.938 kB / 339.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.005921, allocations: 4 kB / 339.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.006064, allocations: 123.3 kB / 339.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.006527, allocations: 0.6301 MB / 340 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.006916, allocations: 195 kB / 340.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.007001, allocations: 89.34 kB / 340.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/0.007072, allocations: 8 kB / 340.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.00725, allocations: 225.9 kB / 340.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/0.007252, allocations: 3.984 kB / 340.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.000409/0.007661, allocations: 345.1 kB / 340.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.007698, allocations: 140.5 kB / 341 MB, free: 8.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.007763, allocations: 185.8 kB / 341.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.007777, allocations: 37.7 kB / 341.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.00782, allocations: 143.3 kB / 341.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.007858, allocations: 75.36 kB / 341.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.007918, allocations: 71.27 kB / 341.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.007964, allocations: 0.4962 MB / 342 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.008045, allocations: 77.58 kB / 342 MB, free: 7.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.008139, allocations: 136.1 kB / 342.2 MB, free: 7.117 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.0004943/0.008633, allocations: 398.2 kB / 342.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.008636, allocations: 4 kB / 342.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002797/0.008915, allocations: 280.7 kB / 342.8 MB, free: 6.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.00894, allocations: 37.69 kB / 342.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.008945, allocations: 4.125 kB / 342.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.008959, allocations: 4 kB / 342.9 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.009165, allocations: 75.86 kB / 343 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.009172, allocations: 7.938 kB / 343 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.009262, allocations: 15.89 kB / 343 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.009277, allocations: 11.98 kB / 343 MB, free: 6.227 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.000103/0.00938, allocations: 225.8 kB / 343.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.009412, allocations: 23.91 kB / 343.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.009881, allocations: 438.9 kB / 343.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009885, allocations: 11.98 kB / 343.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.009889, allocations: 3.938 kB / 343.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.009895, allocations: 0 / 343.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.01003, allocations: 208.4 kB / 343.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01003, allocations: 0 / 343.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.01017, allocations: 59.91 kB / 343.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01018, allocations: 3.938 kB / 343.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.0102, allocations: 11.98 kB / 344 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0102, allocations: 4 kB / 344 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0102, allocations: 0 / 344 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.01065, allocations: 0.5032 MB / 344.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.01067, allocations: 19.84 kB / 344.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.0107, allocations: 15.89 kB / 344.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.01077, allocations: 8 kB / 344.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.01085, allocations: 32.22 kB / 344.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.01086, allocations: 15.94 kB / 344.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.0109, allocations: 150.4 kB / 344.7 MB, free: 4.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0109, allocations: 0 / 344.7 MB, free: 4.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01112, allocations: 64 kB / 344.8 MB, free: 4.352 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.0001323/0.01125, allocations: 132.8 kB / 344.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.01157, allocations: 302.2 kB / 345.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01157, allocations: 0 / 345.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.0117, allocations: 224.6 kB / 345.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01192, allocations: 39.95 kB / 345.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.01271, allocations: 427.3 kB / 345.9 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.01276, allocations: 88.62 kB / 345.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.01285, allocations: 33.92 kB / 346 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.01293, allocations: 44.47 kB / 346 MB, free: 2.977 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01294, allocations: 0 / 346 MB, free: 2.977 MB / 266.7 MB Notification: Performance of Templates: time 0.00515/0.01809, allocations: 3.517 MB / 349.5 MB, free: 15.5 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=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.092807674081996]