Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.001326/0.001326, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001455/0.001455, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.02869/0.02869, allocations: 4.219 MB / 264 MB, free: 12.57 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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") [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.002403/0.002403, allocations: 64.19 kB / 392.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1193, allocations: 54.58 MB / 447.3 MB, free: 4.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004956/0.1243, allocations: 3.202 MB / 450.5 MB, free: 1.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1266, allocations: 1.219 MB / 451.7 MB, free: 304 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.127, allocations: 4 kB / 451.7 MB, free: 300 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.1277, allocations: 210.7 kB / 451.9 MB, free: 88 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.1282, allocations: 166.8 kB / 452.1 MB, free: 15.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1285, allocations: 123.8 kB / 452.2 MB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008154/0.1293, allocations: 0.5798 MB / 452.8 MB, free: 15.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.1295, allocations: 84.64 kB / 452.8 MB, free: 15.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.1299, allocations: 227.1 kB / 453.1 MB, free: 14.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1303, allocations: 227 kB / 453.3 MB, free: 14.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.884e-05/0.1304, allocations: 56 kB / 453.3 MB, free: 14.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1305, allocations: 71.97 kB / 453.4 MB, free: 14.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1307, allocations: 111.6 kB / 453.5 MB, free: 14.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.1309, allocations: 195.1 kB / 453.7 MB, free: 14.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.1316, allocations: 0.5526 MB / 454.3 MB, free: 13.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1316, allocations: 0 / 454.3 MB, free: 13.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1316, allocations: 4 kB / 454.3 MB, free: 13.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1316, allocations: 4 kB / 454.3 MB, free: 13.7 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002086/0.1337, allocations: 0.7617 MB / 455 MB, free: 12.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1337, allocations: 8.031 kB / 455 MB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1338, allocations: 44.66 kB / 455.1 MB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1351, allocations: 435.6 kB / 455.5 MB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.1352, allocations: 24.62 kB / 455.5 MB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.1352, allocations: 24 kB / 455.5 MB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.1359, allocations: 350.1 kB / 455.9 MB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1359, allocations: 0 / 455.9 MB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.136, allocations: 8 kB / 455.9 MB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.136, allocations: 11.94 kB / 455.9 MB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.1368, allocations: 281.8 kB / 456.2 MB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1392, allocations: 1.157 MB / 457.3 MB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.1399, allocations: 210.4 kB / 457.5 MB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.1403, allocations: 132.8 kB / 457.7 MB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1403, allocations: 0 / 457.7 MB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1404, allocations: 42.56 kB / 457.7 MB, free: 10.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 2.966e-06/0.1404, allocations: 3.984 kB / 457.7 MB, free: 10.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.00246/0.1428, allocations: 0.5176 MB / 458.2 MB, free: 9.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1429, allocations: 51.41 kB / 458.3 MB, free: 9.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.1433, allocations: 365.6 kB / 458.6 MB, free: 9.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1434, allocations: 33.7 kB / 458.7 MB, free: 9.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1436, allocations: 224.4 kB / 458.9 MB, free: 8.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.1437, allocations: 63.52 kB / 459 MB, free: 8.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1438, allocations: 57.64 kB / 459 MB, free: 8.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.144, allocations: 342.8 kB / 459.4 MB, free: 8.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.1443, allocations: 111.9 kB / 459.5 MB, free: 8.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1447, allocations: 155.6 kB / 459.6 MB, free: 8.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.1454, allocations: 244.7 kB / 459.9 MB, free: 7.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1454, allocations: 0 / 459.9 MB, free: 7.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001344/0.1467, allocations: 469.2 kB / 460.3 MB, free: 7.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1467, allocations: 4 kB / 460.3 MB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1467, allocations: 0 / 460.3 MB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.1477, allocations: 257.6 kB / 460.6 MB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.148, allocations: 47.91 kB / 460.6 MB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.1506, allocations: 2.109 MB / 462.7 MB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.151, allocations: 47.84 kB / 462.8 MB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.151, allocations: 8 kB / 462.8 MB, free: 4.785 MB / 430.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 (26): * Single equations (assignments): 24 * 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.000185/0.1512, allocations: 149.8 kB / 462.9 MB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.1513, allocations: 35.81 kB / 463 MB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.1514, allocations: 35 kB / 463 MB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1514, allocations: 4 kB / 463 MB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1514, allocations: 0 / 463 MB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1514, allocations: 0 / 463 MB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.1531, allocations: 0.6791 MB / 463.7 MB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1531, allocations: 32 / 463.7 MB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1532, allocations: 27.98 kB / 463.7 MB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.1537, allocations: 172.8 kB / 463.9 MB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1537, allocations: 11.92 kB / 463.9 MB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008685/0.1546, allocations: 0.6695 MB / 464.6 MB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1546, allocations: 3.938 kB / 464.6 MB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1557, allocations: 440.3 kB / 465 MB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1558, allocations: 55.66 kB / 465 MB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.1559, allocations: 7.938 kB / 465 MB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.1562, allocations: 23.91 kB / 465.1 MB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.1563, allocations: 11.98 kB / 465.1 MB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1563, allocations: 15.98 kB / 465.1 MB, free: 2.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.1566, allocations: 259.2 kB / 465.4 MB, free: 2.109 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1566, allocations: 0 / 465.4 MB, free: 2.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.157, allocations: 79.84 kB / 465.4 MB, free: 2.031 MB / 430.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 (13): * Single equations (assignments): 12 * 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.0001673/0.1572, allocations: 107.2 kB / 465.5 MB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1583, allocations: 399.2 kB / 465.9 MB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1583, allocations: 192 / 465.9 MB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.1586, allocations: 103.9 kB / 466 MB, free: 1.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1591, allocations: 69.5 kB / 466.1 MB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1604, allocations: 0.6265 MB / 466.7 MB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1606, allocations: 182.3 kB / 466.9 MB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.1607, allocations: 42.95 kB / 466.9 MB, free: 460 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.1608, allocations: 28.48 kB / 467 MB, free: 432 kB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1608, allocations: 3.938 kB / 467 MB, free: 428 kB / 430.1 MB Notification: Performance of Templates: time 0.01038/0.1712, allocations: 4.702 MB / 471.7 MB, free: 11.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.841160938027315] Failed to read output from testmodel.py, exit status != 0: 0.18057327007409185 0.34617844699999994 0.21166649499999995 Calling exit ...