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.001297/0.001297, allocations: 78.22 kB / 19.01 MB, free: 2.691 MB / 14.72 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.001457/0.001457, allocations: 163.7 kB / 22.26 MB, free: 4.73 MB / 14.72 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.47/1.47, allocations: 177.2 MB / 202.6 MB, free: 9.258 MB / 190.1 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.02928/0.02928, allocations: 4.215 MB / 263.2 MB, free: 12.7 MB / 254.1 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: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.89 kB / 388 MB, free: 14.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.113, allocations: 54.58 MB / 442.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.003208/0.1162, allocations: 1.63 MB / 444.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1177, allocations: 0.6739 MB / 444.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.1177, allocations: 0 / 444.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.738e-05/0.1178, allocations: 19.8 kB / 444.9 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1181, allocations: 67.67 kB / 445 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1184, allocations: 107.8 kB / 445.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.1187, allocations: 195.4 kB / 445.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1188, allocations: 5.641 kB / 445.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.119, allocations: 111.8 kB / 445.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1193, allocations: 115.5 kB / 445.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.1193, allocations: 12 kB / 445.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1195, allocations: 63.95 kB / 445.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.1195, allocations: 31.91 kB / 445.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.1196, allocations: 59.77 kB / 445.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1199, allocations: 187.3 kB / 445.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1199, allocations: 0 / 445.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1199, allocations: 0 / 445.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1199, allocations: 4 kB / 445.8 MB, free: 4.312 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.001011/0.1209, allocations: 391.5 kB / 446.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.121, allocations: 8.031 kB / 446.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1211, allocations: 16.84 kB / 446.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.1215, allocations: 158.3 kB / 446.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1215, allocations: 8.375 kB / 446.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.1216, allocations: 8.375 kB / 446.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.122, allocations: 221 kB / 446.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.122, allocations: 11.92 kB / 446.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1221, allocations: 4 kB / 446.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1221, allocations: 4 kB / 446.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.1225, allocations: 153.6 kB / 446.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.1233, allocations: 0.5122 MB / 447.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.1241, allocations: 212.4 kB / 447.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.1243, allocations: 102.5 kB / 447.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.1244, allocations: 8 kB / 447.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004311/0.1248, allocations: 240.3 kB / 447.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.1248, allocations: 0 / 447.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009667/0.1258, allocations: 402.5 kB / 448.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.1259, allocations: 136.5 kB / 448.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.126, allocations: 130.1 kB / 448.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.126, allocations: 33.7 kB / 448.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.1261, allocations: 96.53 kB / 448.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.938e-05/0.1262, allocations: 87.3 kB / 448.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1263, allocations: 61.66 kB / 448.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1265, allocations: 326.8 kB / 449.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1267, allocations: 105.6 kB / 449.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.127, allocations: 145.9 kB / 449.3 MB, free: 0.4961 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.243/0.37, allocations: 0.7698 MB / 450.1 MB, free: 19.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.37, allocations: 3.625 kB / 450.1 MB, free: 19.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000712/0.3707, allocations: 324.8 kB / 450.4 MB, free: 19.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.3707, allocations: 34.39 kB / 450.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3707, allocations: 1.875 kB / 450.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3708, allocations: 2.562 kB / 450.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.3712, allocations: 71.52 kB / 450.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3712, allocations: 2.531 kB / 450.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3714, allocations: 23.47 kB / 450.6 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.3714, allocations: 12.16 kB / 450.6 MB, free: 19.65 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.0001965/0.3716, allocations: 176.6 kB / 450.8 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3717, allocations: 16.7 kB / 450.8 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3727, allocations: 489.8 kB / 451.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3727, allocations: 2.531 kB / 451.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3727, allocations: 1.062 kB / 451.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3727, allocations: 1.641 kB / 451.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3729, allocations: 217 kB / 451.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3729, allocations: 3.75 kB / 451.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.3732, allocations: 61.41 kB / 451.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3732, allocations: 1.5 kB / 451.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.3733, allocations: 10.88 kB / 451.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3733, allocations: 2.297 kB / 451.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3733, allocations: 0 / 451.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3743, allocations: 0.5618 MB / 452.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.3744, allocations: 20.23 kB / 452.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.3744, allocations: 16.73 kB / 452.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3746, allocations: 14 kB / 452.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3748, allocations: 31.78 kB / 452.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.3748, allocations: 15.31 kB / 452.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.3749, allocations: 105.4 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3749, allocations: 1 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.3752, allocations: 64.05 kB / 452.4 MB, free: 18.73 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.0002023/0.3754, allocations: 121.5 kB / 452.5 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.3762, allocations: 347.1 kB / 452.8 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3762, allocations: 0 / 452.8 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.3766, allocations: 223 kB / 453 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3769, allocations: 40.97 kB / 453.1 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3779, allocations: 478.3 kB / 453.6 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3781, allocations: 117.2 kB / 453.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.3782, allocations: 42.25 kB / 453.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3783, allocations: 38.31 kB / 453.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3783, allocations: 2.438 kB / 453.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of Templates: time 0.008179/0.3865, allocations: 3.473 MB / 457.2 MB, free: 17.52 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] [Calling sys.exit(0), Time elapsed: 5.845179755240679] Failed to read output from testmodel.py, exit status != 0: 0.3960340302437544 0.412153883 0.289177364 Calling exit ...