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.002301/0.002301, allocations: 89.47 kB / 19.44 MB, free: 340 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.0028/0.0028, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.03426/0.03426, allocations: 4.216 MB / 263.8 MB, free: 8.973 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.634e-06/1.634e-06, allocations: 0 / 334.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.387e-05, allocations: 2.312 kB / 334.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002175/0.002199, allocations: 1.661 MB / 335.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.00322, allocations: 0.7048 MB / 336.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.003292, allocations: 3.938 kB / 336.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.003392, allocations: 11.86 kB / 336.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.003614, allocations: 71.61 kB / 336.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.003823, allocations: 111.5 kB / 336.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.004, allocations: 187.4 kB / 337 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.004078, allocations: 13.64 kB / 337 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.004275, allocations: 107.8 kB / 337.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.004428, allocations: 107.8 kB / 337.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.00446, allocations: 12 kB / 337.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.004563, allocations: 59.95 kB / 337.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.004594, allocations: 31.91 kB / 337.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.004652, allocations: 55.81 kB / 337.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.004884, allocations: 203.4 kB / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004888, allocations: 0 / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004889, allocations: 0 / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004894, allocations: 0 / 337.6 MB, free: 11.32 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.0007049/0.005598, allocations: 0.4973 MB / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.005633, allocations: 8.031 kB / 338.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.005707, allocations: 20.84 kB / 338.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.005901, allocations: 160.4 kB / 338.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.005923, allocations: 12.38 kB / 338.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.005952, allocations: 8.375 kB / 338.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.006255, allocations: 224 kB / 338.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.006265, allocations: 192 / 338.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.006284, allocations: 7.938 kB / 338.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.006289, allocations: 8 kB / 338.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.006588, allocations: 157.5 kB / 338.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.00715, allocations: 0.6614 MB / 339.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.007728, allocations: 231 kB / 339.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.00791, allocations: 109.3 kB / 339.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.007988, allocations: 4 kB / 339.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.008264, allocations: 246 kB / 339.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.008265, allocations: 7.938 kB / 339.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007007/0.008966, allocations: 413 kB / 340.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.009003, allocations: 136.5 kB / 340.4 MB, free: 8.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.009085, allocations: 208.3 kB / 340.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.009104, allocations: 29.7 kB / 340.7 MB, free: 7.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.009147, allocations: 143.3 kB / 340.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.009195, allocations: 83.36 kB / 340.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.009276, allocations: 71.33 kB / 341 MB, free: 7.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.009344, allocations: 0.504 MB / 341.5 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.009514, allocations: 101.6 kB / 341.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.009708, allocations: 172 kB / 341.7 MB, free: 6.82 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.004622/0.01433, allocations: 0.7947 MB / 342.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01433, allocations: 0 / 342.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005253/0.01486, allocations: 340.7 kB / 342.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.01488, allocations: 29.7 kB / 342.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01489, allocations: 4 kB / 342.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01491, allocations: 0 / 342.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.01527, allocations: 79.84 kB / 343 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01528, allocations: 7.938 kB / 343 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.01546, allocations: 23.83 kB / 343 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.01549, allocations: 11.98 kB / 343 MB, free: 5.461 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.0001367/0.01563, allocations: 226.8 kB / 343.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.01568, allocations: 23.91 kB / 343.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.01645, allocations: 486.8 kB / 343.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01645, allocations: 4 kB / 343.7 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01645, allocations: 3.938 kB / 343.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01646, allocations: 3.984 kB / 343.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.01665, allocations: 220.4 kB / 344 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01665, allocations: 0 / 344 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.01691, allocations: 55.91 kB / 344 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01691, allocations: 0 / 344 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.01694, allocations: 11.98 kB / 344 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.01694, allocations: 8 kB / 344 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01694, allocations: 0 / 344 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.01771, allocations: 0.5775 MB / 344.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.01773, allocations: 19.84 kB / 344.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.01778, allocations: 19.94 kB / 344.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.01793, allocations: 8 kB / 344.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.01801, allocations: 24.23 kB / 344.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.01804, allocations: 23.86 kB / 344.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.01809, allocations: 154.3 kB / 344.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01809, allocations: 0 / 344.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.01838, allocations: 75.95 kB / 344.9 MB, free: 3.438 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.0001562/0.01854, allocations: 129.4 kB / 345.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.01904, allocations: 354.2 kB / 345.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01904, allocations: 0 / 345.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.01929, allocations: 256.5 kB / 345.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01959, allocations: 39.97 kB / 345.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.02025, allocations: 458.9 kB / 346.1 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.84e-05/0.02031, allocations: 121 kB / 346.3 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.02045, allocations: 37.92 kB / 346.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.936e-05/0.02055, allocations: 40.47 kB / 346.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02055, allocations: 0 / 346.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of Templates: time 0.007517/0.02806, allocations: 3.51 MB / 349.9 MB, free: 14.44 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: 5.642902666004375]