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.001521/0.001521, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001895/0.001895, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.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.03299/0.03299, allocations: 5.483 MB / 317.9 MB, free: 13.64 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.00232/0.00232, allocations: 83.86 kB / 442.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1103, allocations: 54.61 MB / 497.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.003148/0.1135, allocations: 1.621 MB / 498.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1149, allocations: 0.6778 MB / 499.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.115, allocations: 8 kB / 499.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.1151, allocations: 11.81 kB / 499.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1154, allocations: 55.69 kB / 499.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1157, allocations: 127.7 kB / 499.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.116, allocations: 179.5 kB / 500 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1161, allocations: 13.62 kB / 500 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.1163, allocations: 79.81 kB / 0.4883 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1165, allocations: 111.7 kB / 0.4884 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1165, allocations: 12 kB / 0.4885 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1167, allocations: 67.89 kB / 0.4885 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.1167, allocations: 35.84 kB / 0.4885 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.1168, allocations: 63.75 kB / 0.4886 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1171, allocations: 179.3 kB / 0.4888 GB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1171, allocations: 0 / 0.4888 GB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1171, allocations: 0 / 0.4888 GB, free: 13.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1171, allocations: 0 / 0.4888 GB, free: 13.2 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.0009141/0.118, allocations: 395.4 kB / 0.4892 GB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1181, allocations: 8.031 kB / 0.4892 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.1181, allocations: 24.77 kB / 0.4892 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1184, allocations: 154.3 kB / 0.4893 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1185, allocations: 8.375 kB / 0.4893 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1185, allocations: 12.38 kB / 0.4894 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.1189, allocations: 210.1 kB / 0.4896 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.119, allocations: 4 kB / 0.4896 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.119, allocations: 4 kB / 0.4896 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.119, allocations: 7.938 kB / 0.4896 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.1194, allocations: 157.6 kB / 0.4897 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.1202, allocations: 0.5083 MB / 0.4902 GB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.1209, allocations: 208.5 kB / 0.4904 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1212, allocations: 110.5 kB / 0.4905 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.1213, allocations: 8 kB / 0.4905 GB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.1217, allocations: 246.6 kB / 0.4908 GB, free: 10.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1217, allocations: 0 / 0.4908 GB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009442/0.1227, allocations: 398.5 kB / 0.4911 GB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1228, allocations: 144.4 kB / 0.4913 GB, free: 10.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1229, allocations: 128.9 kB / 0.4914 GB, free: 10.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1229, allocations: 33.7 kB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.123, allocations: 104.5 kB / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.1231, allocations: 79.31 kB / 0.4916 GB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1232, allocations: 61.66 kB / 0.4917 GB, free: 9.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1234, allocations: 322.8 kB / 0.492 GB, free: 9.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1236, allocations: 105.6 kB / 0.4921 GB, free: 9.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.1239, allocations: 141.9 kB / 0.4922 GB, free: 9.383 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.005071/0.129, allocations: 0.7868 MB / 0.493 GB, free: 8.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.129, allocations: 0 / 0.493 GB, free: 8.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007574/0.1297, allocations: 328.6 kB / 0.4933 GB, free: 8.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.1298, allocations: 33.69 kB / 0.4933 GB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1298, allocations: 12.06 kB / 0.4933 GB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1298, allocations: 0 / 0.4933 GB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.1302, allocations: 67.86 kB / 0.4934 GB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1302, allocations: 0 / 0.4934 GB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.1304, allocations: 23.84 kB / 0.4934 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1305, allocations: 15.98 kB / 0.4934 GB, free: 8.051 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.0002363/0.1307, allocations: 183.3 kB / 0.4936 GB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.1307, allocations: 11.95 kB / 0.4936 GB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.1318, allocations: 490.8 kB / 0.4941 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1318, allocations: 4 kB / 0.4941 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1318, allocations: 0 / 0.4941 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1318, allocations: 0 / 0.4941 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1321, allocations: 213 kB / 0.4943 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1321, allocations: 0 / 0.4943 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1324, allocations: 59.89 kB / 0.4944 GB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1324, allocations: 0 / 0.4944 GB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.1324, allocations: 12 kB / 0.4944 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1324, allocations: 3.938 kB / 0.4944 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1324, allocations: 4 kB / 0.4944 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1335, allocations: 0.5622 MB / 0.4949 GB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.1335, allocations: 27.83 kB / 0.495 GB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1336, allocations: 8 kB / 0.495 GB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1338, allocations: 15.94 kB / 0.495 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.1339, allocations: 35.88 kB / 0.495 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1339, allocations: 12 kB / 0.495 GB, free: 6.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.134, allocations: 110.2 kB / 0.4951 GB, free: 6.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.134, allocations: 0 / 0.4951 GB, free: 6.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1343, allocations: 67.94 kB / 0.4952 GB, free: 6.164 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.0001905/0.1345, allocations: 127.2 kB / 0.4953 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006945/0.1352, allocations: 334.5 kB / 0.4956 GB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1352, allocations: 0 / 0.4956 GB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.1356, allocations: 216.9 kB / 0.4958 GB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1359, allocations: 37.39 kB / 0.4959 GB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.1368, allocations: 469.5 kB / 0.4963 GB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.137, allocations: 124.9 kB / 0.4964 GB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.1371, allocations: 33.92 kB / 0.4965 GB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1372, allocations: 39.41 kB / 0.4965 GB, free: 4.703 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1372, allocations: 0 / 0.4965 GB, free: 4.703 MB / 366.1 MB Notification: Performance of Templates: time 0.008565/0.1458, allocations: 3.615 MB / 0.5 GB, free: 1.133 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.843512972816825] Failed to read output from testmodel.py, exit status != 0: 0.15428313985466957 0.170957155 0.050367942000000006 Calling exit ...