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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02895/0.02895, allocations: 5.474 MB / 310.5 MB, free: 3.012 MB / 238.1 MB [Timeout remaining time 90] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002853/0.002853, allocations: 71.86 kB / 432.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.232, allocations: 53.38 MB / 485.6 MB, free: 26.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002216/0.2342, allocations: 1.669 MB / 487.3 MB, free: 25.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.2352, allocations: 0.7145 MB / 488 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.2353, allocations: 0 / 488 MB, free: 24.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2354, allocations: 18.86 kB / 488 MB, free: 24.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.2356, allocations: 56.2 kB / 488.1 MB, free: 24.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.2359, allocations: 122.8 kB / 488.2 MB, free: 24.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.2361, allocations: 186.6 kB / 488.4 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.2361, allocations: 12.2 kB / 488.4 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2363, allocations: 85.84 kB / 488.5 MB, free: 24.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2365, allocations: 113.7 kB / 488.6 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.2365, allocations: 9.094 kB / 488.6 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2366, allocations: 74.95 kB / 488.7 MB, free: 24.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.2366, allocations: 28.58 kB / 488.7 MB, free: 24.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.2367, allocations: 73.8 kB / 488.8 MB, free: 24.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2369, allocations: 182.1 kB / 489 MB, free: 24.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2369, allocations: 0 / 489 MB, free: 24.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2369, allocations: 0 / 489 MB, free: 24.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.237, allocations: 0 / 489 MB, free: 24.39 MB / 366.1 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.0007471/0.2377, allocations: 478.1 kB / 489.4 MB, free: 23.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.2377, allocations: 18.09 kB / 489.4 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.2378, allocations: 14.84 kB / 489.5 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.238, allocations: 203.2 kB / 489.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.238, allocations: 6.656 kB / 489.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.238, allocations: 11.06 kB / 489.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.2384, allocations: 185.2 kB / 489.8 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2384, allocations: 0 / 489.8 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2384, allocations: 7.688 kB / 489.9 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2384, allocations: 3 kB / 489.9 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.2388, allocations: 135.1 kB / 490 MB, free: 23.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.2394, allocations: 0.5891 MB / 490.6 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.2401, allocations: 192 kB / 490.8 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2403, allocations: 70.14 kB / 490.8 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.2403, allocations: 82.44 kB / 490.9 MB, free: 22.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.2407, allocations: 207.3 kB / 491.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.2407, allocations: 0 / 491.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007837/0.2415, allocations: 344.6 kB / 491.5 MB, free: 22.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.2415, allocations: 136 kB / 491.6 MB, free: 22.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.2416, allocations: 140 kB / 491.7 MB, free: 22.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2416, allocations: 31.58 kB / 491.8 MB, free: 22.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.2416, allocations: 94.19 kB / 491.8 MB, free: 22.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.2417, allocations: 80.47 kB / 491.9 MB, free: 22.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.2418, allocations: 59.59 kB / 492 MB, free: 22.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.2418, allocations: 326.9 kB / 492.3 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.242, allocations: 75.41 kB / 492.4 MB, free: 21.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2422, allocations: 117.9 kB / 492.5 MB, free: 21.64 MB / 366.1 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.005019/0.2473, allocations: 0.8332 MB / 493.3 MB, free: 21.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2473, allocations: 5.188 kB / 493.3 MB, free: 21.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005987/0.2479, allocations: 295 kB / 493.6 MB, free: 21.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2479, allocations: 37.86 kB / 493.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2479, allocations: 1.031 kB / 493.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2479, allocations: 2.281 kB / 493.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.2483, allocations: 73.38 kB / 493.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2483, allocations: 3.016 kB / 493.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2485, allocations: 19.86 kB / 493.8 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.2485, allocations: 12.36 kB / 493.8 MB, free: 21.02 MB / 366.1 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.0001265/0.2487, allocations: 176.5 kB / 493.9 MB, free: 20.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.2487, allocations: 20.34 kB / 494 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008821/0.2496, allocations: 454.8 kB / 494.4 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2496, allocations: 4.344 kB / 494.4 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2496, allocations: 4 kB / 494.4 MB, free: 20.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2496, allocations: 2.062 kB / 494.4 MB, free: 20.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2498, allocations: 304.5 kB / 494.7 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2498, allocations: 0 / 494.7 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.2501, allocations: 60.86 kB / 494.8 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2501, allocations: 6.078 kB / 494.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2502, allocations: 10.11 kB / 494.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2502, allocations: 2.156 kB / 494.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2502, allocations: 1.25 kB / 494.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.251, allocations: 0.4931 MB / 495.3 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.2511, allocations: 104.1 kB / 495.4 MB, free: 20 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.2511, allocations: 12.75 kB / 495.4 MB, free: 20 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2513, allocations: 10.03 kB / 495.4 MB, free: 19.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.2514, allocations: 33.75 kB / 495.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.2514, allocations: 15.7 kB / 495.5 MB, free: 19.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.2515, allocations: 108 kB / 495.6 MB, free: 19.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2515, allocations: 4 kB / 495.6 MB, free: 19.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.2518, allocations: 66.03 kB / 495.6 MB, free: 19.88 MB / 366.1 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.0001361/0.2519, allocations: 115.8 kB / 495.7 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.2525, allocations: 267.3 kB / 496 MB, free: 19.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2525, allocations: 4 kB / 496 MB, free: 19.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.2528, allocations: 194 kB / 496.2 MB, free: 19.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2531, allocations: 34.64 kB / 496.2 MB, free: 19.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.2538, allocations: 497.9 kB / 496.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.254, allocations: 0.735 MB / 497.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2541, allocations: 39.78 kB / 497.5 MB, free: 18.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2541, allocations: 0 / 497.5 MB, free: 18.49 MB / 366.1 MB Notification: Performance of Templates: time 0.005361/0.2594, allocations: 3.003 MB / 0.4888 GB, free: 18.19 MB / 366.1 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]