Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.001396/0.001396, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00153/0.00153, allocations: 215.1 kB / 23.01 MB, free: 4.566 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.03287/0.03287, allocations: 5.484 MB / 318.7 MB, free: 13.75 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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [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.002145/0.002145, allocations: 69.78 kB / 447.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1019, allocations: 54.61 MB / 0.4903 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005204/0.1071, allocations: 3.434 MB / 0.4936 GB, free: 9.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1094, allocations: 1.316 MB / 0.4949 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.1097, allocations: 7.938 kB / 0.4949 GB, free: 7.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006895/0.1104, allocations: 238.7 kB / 0.4952 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.1108, allocations: 158.9 kB / 0.4953 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.1112, allocations: 123.8 kB / 0.4954 GB, free: 7.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007009/0.1119, allocations: 0.5643 MB / 0.496 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.1121, allocations: 80.59 kB / 0.4961 GB, free: 6.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1124, allocations: 223.2 kB / 0.4963 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.1128, allocations: 255 kB / 0.4965 GB, free: 6.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1129, allocations: 52 kB / 0.4966 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1131, allocations: 75.98 kB / 0.4966 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1132, allocations: 115.6 kB / 0.4967 GB, free: 6.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.1134, allocations: 222.9 kB / 0.497 GB, free: 5.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.1141, allocations: 0.5331 MB / 0.4975 GB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1141, allocations: 0 / 0.4975 GB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1141, allocations: 0 / 0.4975 GB, free: 5.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1141, allocations: 0 / 0.4975 GB, free: 5.309 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002205/0.1163, allocations: 0.75 MB / 0.4982 GB, free: 4.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1164, allocations: 8.031 kB / 0.4982 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1165, allocations: 48.66 kB / 0.4983 GB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.1178, allocations: 423.6 kB / 0.4987 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1178, allocations: 24.62 kB / 0.4987 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1178, allocations: 20 kB / 0.4987 GB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.1185, allocations: 292.3 kB / 0.499 GB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1185, allocations: 3.938 kB / 0.499 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1185, allocations: 11.98 kB / 0.499 GB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1185, allocations: 8 kB / 0.499 GB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.1192, allocations: 249.5 kB / 0.4993 GB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.1216, allocations: 1.212 MB / 0.5004 GB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.1222, allocations: 186.4 kB / 0.5006 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.1225, allocations: 100.8 kB / 0.5007 GB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1225, allocations: 4 kB / 0.5007 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1225, allocations: 38.56 kB / 0.5008 GB, free: 1.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.587e-06/0.1225, allocations: 4.203 kB / 0.5008 GB, free: 1.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002288/0.1248, allocations: 477.8 kB / 0.5012 GB, free: 1.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1249, allocations: 55.34 kB / 0.5013 GB, free: 1.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.1253, allocations: 393.5 kB / 0.5016 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1254, allocations: 25.7 kB / 0.5017 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.1256, allocations: 224.2 kB / 0.5019 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1256, allocations: 39.69 kB / 0.5019 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.1257, allocations: 53.64 kB / 0.502 GB, free: 500 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1259, allocations: 346.8 kB / 0.5023 GB, free: 144 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1262, allocations: 99.94 kB / 0.5024 GB, free: 44 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.1265, allocations: 135.3 kB / 0.5025 GB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.127, allocations: 228.4 kB / 0.5027 GB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.127, allocations: 96 / 0.5027 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001448/0.1285, allocations: 442.8 kB / 0.5032 GB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1285, allocations: 8 kB / 0.5032 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1285, allocations: 8.031 kB / 0.5032 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.1295, allocations: 241.5 kB / 0.5034 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1297, allocations: 43.97 kB / 0.5034 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.1322, allocations: 2.113 MB / 0.5055 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.1326, allocations: 35.8 kB / 0.5055 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1326, allocations: 16.11 kB / 0.5056 GB, free: 12.62 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 (22): * Single equations (assignments): 20 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.1328, allocations: 147.1 kB / 0.5057 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.1329, allocations: 35.77 kB / 0.5057 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.1329, allocations: 35.12 kB / 0.5058 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1329, allocations: 3.938 kB / 0.5058 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1329, allocations: 0 / 0.5058 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.133, allocations: 3.984 kB / 0.5058 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.1343, allocations: 0.6707 MB / 0.5064 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1343, allocations: 0 / 0.5064 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1344, allocations: 19.98 kB / 0.5065 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.1348, allocations: 164.8 kB / 0.5066 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1348, allocations: 8 kB / 0.5066 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006944/0.1355, allocations: 0.6498 MB / 0.5073 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.1355, allocations: 4.031 kB / 0.5073 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.1363, allocations: 360.8 kB / 0.5076 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1364, allocations: 59.67 kB / 0.5077 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.1365, allocations: 7.938 kB / 0.5077 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.1368, allocations: 19.98 kB / 0.5077 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1368, allocations: 11.98 kB / 0.5077 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1368, allocations: 3.984 kB / 0.5077 GB, free: 10.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.1371, allocations: 271.2 kB / 0.508 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1371, allocations: 0 / 0.508 GB, free: 10.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.1375, allocations: 79.89 kB / 0.508 GB, free: 9.969 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 (9): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.1377, allocations: 103.2 kB / 0.5081 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009997/0.1387, allocations: 371.2 kB / 0.5085 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1387, allocations: 4 kB / 0.5085 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.139, allocations: 79.97 kB / 0.5086 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.1395, allocations: 81.77 kB / 0.5086 GB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1408, allocations: 0.6347 MB / 0.5093 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1412, allocations: 0.7756 MB / 0.51 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.1413, allocations: 27.44 kB / 0.51 GB, free: 7.824 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1413, allocations: 0 / 0.51 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Templates: time 0.01068/0.152, allocations: 6.652 MB / 0.5165 GB, free: 1.199 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.564773219870403] Failed to read output from testmodel.py, exit status != 0: 0.3108655931428075 0.32321607799999996 0.20637136899999994 Calling exit ...