Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.001232/0.001232, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001541/0.001541, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.02882/0.02882, allocations: 5.493 MB / 318.7 MB, free: 13.52 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.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") [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.001925/0.001925, allocations: 75.89 kB / 447.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09927, allocations: 54.62 MB / 0.4902 GB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004839/0.1041, allocations: 3.251 MB / 0.4934 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1062, allocations: 1.223 MB / 0.4946 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1063, allocations: 7.938 kB / 0.4946 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.1069, allocations: 218.7 kB / 0.4948 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.1072, allocations: 174.8 kB / 0.495 GB, free: 7.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1075, allocations: 123.8 kB / 0.4951 GB, free: 7.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000621/0.1081, allocations: 0.5993 MB / 0.4957 GB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.1083, allocations: 80.58 kB / 0.4957 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.1085, allocations: 239.1 kB / 0.496 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1088, allocations: 242.9 kB / 0.4962 GB, free: 6.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.1089, allocations: 56 kB / 0.4962 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1091, allocations: 75.98 kB / 0.4963 GB, free: 6.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1092, allocations: 119.6 kB / 0.4964 GB, free: 5.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.1094, allocations: 207 kB / 0.4966 GB, free: 5.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.11, allocations: 0.5681 MB / 0.4972 GB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.11, allocations: 0 / 0.4972 GB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.11, allocations: 0 / 0.4972 GB, free: 5.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.11, allocations: 0 / 0.4972 GB, free: 5.199 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001898/0.1119, allocations: 0.7774 MB / 0.4979 GB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1119, allocations: 8.031 kB / 0.498 GB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.112, allocations: 52.61 kB / 0.498 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.1133, allocations: 463.7 kB / 0.4984 GB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.1134, allocations: 24.78 kB / 0.4985 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.1134, allocations: 24 kB / 0.4985 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007885/0.1142, allocations: 392.1 kB / 0.4989 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1142, allocations: 0 / 0.4989 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1142, allocations: 12 kB / 0.4989 GB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1143, allocations: 4 kB / 0.4989 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.1152, allocations: 369.6 kB / 0.4992 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.1175, allocations: 1.188 MB / 0.5004 GB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1186, allocations: 350.4 kB / 0.5007 GB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.119, allocations: 156.8 kB / 0.5009 GB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1191, allocations: 4 kB / 0.5009 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1191, allocations: 30.56 kB / 0.5009 GB, free: 1.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.1191, allocations: 0 / 0.5009 GB, free: 1.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003179/0.1223, allocations: 0.6997 MB / 0.5016 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1223, allocations: 51.41 kB / 0.5016 GB, free: 468 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.1228, allocations: 373.6 kB / 0.502 GB, free: 80 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.1228, allocations: 33.7 kB / 0.502 GB, free: 40 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.123, allocations: 232.3 kB / 0.5023 GB, free: 15.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.1231, allocations: 71.38 kB / 0.5023 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1232, allocations: 73.59 kB / 0.5024 GB, free: 15.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1234, allocations: 346.8 kB / 0.5027 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.1238, allocations: 144 kB / 0.5029 GB, free: 15.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.1243, allocations: 188.3 kB / 0.503 GB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.125, allocations: 316.8 kB / 0.5033 GB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1251, allocations: 4 kB / 0.5033 GB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001901/0.127, allocations: 0.5862 MB / 0.5039 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.127, allocations: 4 kB / 0.5039 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.127, allocations: 0 / 0.5039 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.1281, allocations: 333.4 kB / 0.5042 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1284, allocations: 59.91 kB / 0.5043 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.1311, allocations: 2.176 MB / 0.5064 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.1316, allocations: 47.83 kB / 0.5065 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1316, allocations: 23.91 kB / 0.5065 GB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.1319, allocations: 149.8 kB / 0.5066 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.132, allocations: 35.77 kB / 0.5067 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.1321, allocations: 35.61 kB / 0.5067 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1321, allocations: 7.984 kB / 0.5067 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1321, allocations: 4 kB / 0.5067 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1321, allocations: 0 / 0.5067 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.1338, allocations: 0.7883 MB / 0.5075 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1338, allocations: 4.031 kB / 0.5075 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.134, allocations: 39.91 kB / 0.5075 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006613/0.1347, allocations: 244.6 kB / 0.5078 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1347, allocations: 7.984 kB / 0.5078 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1357, allocations: 0.7397 MB / 0.5085 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1357, allocations: 0 / 0.5085 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.1372, allocations: 0.5333 MB / 0.509 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.1374, allocations: 63.66 kB / 0.5091 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.1374, allocations: 12 kB / 0.5091 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.1377, allocations: 27.97 kB / 0.5091 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.1378, allocations: 11.92 kB / 0.5091 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1378, allocations: 11.98 kB / 0.5091 GB, free: 8.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002987/0.1381, allocations: 259.2 kB / 0.5094 GB, free: 8.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1381, allocations: 0 / 0.5094 GB, free: 8.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1385, allocations: 99.78 kB / 0.5095 GB, free: 8.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.1387, allocations: 115.1 kB / 0.5096 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.1399, allocations: 475.5 kB / 0.51 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1399, allocations: 0 / 0.51 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.1404, allocations: 151.8 kB / 0.5102 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.1409, allocations: 77.47 kB / 0.5103 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1425, allocations: 0.7399 MB / 0.511 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1426, allocations: 186.9 kB / 0.5112 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.1427, allocations: 27.44 kB / 0.5112 GB, free: 6.301 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1427, allocations: 4 kB / 0.5112 GB, free: 6.297 MB / 382.1 MB Notification: Performance of Templates: time 0.1856/0.3284, allocations: 7.365 MB / 0.5184 GB, free: 33.42 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.306361696217209] Failed to read output from testmodel.py, exit status != 0: 0.33508106088265777 0.34673101300000003 0.23426774800000003 Calling exit ...