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.001874/0.001874, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002475/0.002475, allocations: 219.6 kB / 22.25 MB, free: 5.121 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.988 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.03048/0.03048, allocations: 5.489 MB / 317.9 MB, free: 13.72 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.002898/0.002898, allocations: 71.89 kB / 446.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1276, allocations: 54.62 MB / 0.4895 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005325/0.1329, allocations: 3.496 MB / 0.493 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.1352, allocations: 1.32 MB / 0.4942 GB, free: 7.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1354, allocations: 7.938 kB / 0.4943 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.1361, allocations: 242.6 kB / 0.4945 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.1365, allocations: 166.8 kB / 0.4946 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1367, allocations: 123.8 kB / 0.4948 GB, free: 7.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006674/0.1374, allocations: 0.5872 MB / 0.4953 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1376, allocations: 80.59 kB / 0.4954 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.1379, allocations: 231.2 kB / 0.4956 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.1382, allocations: 251 kB / 0.4959 GB, free: 6.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.1383, allocations: 56 kB / 0.4959 GB, free: 6.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1384, allocations: 75.98 kB / 0.496 GB, free: 6.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1385, allocations: 115.6 kB / 0.4961 GB, free: 5.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1388, allocations: 230.8 kB / 0.4963 GB, free: 5.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.1394, allocations: 0.5564 MB / 0.4969 GB, free: 5.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1394, allocations: 0 / 0.4969 GB, free: 5.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1394, allocations: 0 / 0.4969 GB, free: 5.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.1395, allocations: 0 / 0.4969 GB, free: 5.172 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00211/0.1416, allocations: 0.754 MB / 0.4976 GB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1416, allocations: 8.031 kB / 0.4976 GB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1417, allocations: 48.66 kB / 0.4977 GB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.143, allocations: 447.6 kB / 0.4981 GB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.143, allocations: 20.62 kB / 0.4981 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.1431, allocations: 24 kB / 0.4981 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.1438, allocations: 324.4 kB / 0.4984 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1438, allocations: 0 / 0.4984 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1438, allocations: 8 kB / 0.4984 GB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1438, allocations: 8 kB / 0.4985 GB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.1446, allocations: 281.8 kB / 0.4987 GB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.1472, allocations: 1.284 MB / 0.5 GB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.1478, allocations: 214.4 kB / 0.5002 GB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.1483, allocations: 132.8 kB / 0.5003 GB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1483, allocations: 4 kB / 0.5003 GB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1483, allocations: 30.56 kB / 0.5003 GB, free: 1.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.1483, allocations: 4 kB / 0.5003 GB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002503/0.1508, allocations: 0.5176 MB / 0.5009 GB, free: 0.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1509, allocations: 55.41 kB / 0.5009 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.1514, allocations: 385.6 kB / 0.5013 GB, free: 476 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.1514, allocations: 29.7 kB / 0.5013 GB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1516, allocations: 220.2 kB / 0.5015 GB, free: 212 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.1517, allocations: 55.53 kB / 0.5016 GB, free: 156 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1518, allocations: 65.64 kB / 0.5016 GB, free: 84 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.152, allocations: 346.8 kB / 0.502 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.1524, allocations: 107.9 kB / 0.5021 GB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.1527, allocations: 160 kB / 0.5022 GB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.1534, allocations: 252.7 kB / 0.5025 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1534, allocations: 0 / 0.5025 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001375/0.1548, allocations: 465.1 kB / 0.5029 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1548, allocations: 8.062 kB / 0.5029 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1548, allocations: 4 kB / 0.5029 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.1558, allocations: 257.5 kB / 0.5032 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1561, allocations: 51.91 kB / 0.5032 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.1586, allocations: 2.128 MB / 0.5053 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.159, allocations: 47.78 kB / 0.5053 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1591, allocations: 11.94 kB / 0.5053 GB, free: 12.09 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 (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.0002205/0.1593, allocations: 157.8 kB / 0.5055 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.1594, allocations: 39.7 kB / 0.5055 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.1594, allocations: 31.19 kB / 0.5056 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1594, allocations: 4 kB / 0.5056 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1594, allocations: 0 / 0.5056 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1594, allocations: 0 / 0.5056 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1612, allocations: 0.7682 MB / 0.5063 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1612, allocations: 0 / 0.5063 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1613, allocations: 24.02 kB / 0.5063 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.1618, allocations: 184.7 kB / 0.5065 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1618, allocations: 4 kB / 0.5065 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008234/0.1626, allocations: 0.6733 MB / 0.5072 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1626, allocations: 0 / 0.5072 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1638, allocations: 436.8 kB / 0.5076 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1639, allocations: 55.67 kB / 0.5076 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.164, allocations: 8 kB / 0.5077 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.1643, allocations: 19.98 kB / 0.5077 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.1643, allocations: 19.91 kB / 0.5077 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1644, allocations: 4 kB / 0.5077 GB, free: 9.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.1647, allocations: 271.2 kB / 0.508 GB, free: 9.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1647, allocations: 0 / 0.508 GB, free: 9.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000426/0.1651, allocations: 79.89 kB / 0.508 GB, free: 9.215 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 (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.0001888/0.1653, allocations: 111.1 kB / 0.5081 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.1665, allocations: 395.3 kB / 0.5085 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1665, allocations: 0 / 0.5085 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.1668, allocations: 108 kB / 0.5086 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.1674, allocations: 77.5 kB / 0.5087 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1689, allocations: 0.6375 MB / 0.5093 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1693, allocations: 0.7872 MB / 0.5101 GB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1695, allocations: 43.27 kB / 0.5101 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1696, allocations: 27.44 kB / 0.5101 GB, free: 6.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1696, allocations: 0 / 0.5101 GB, free: 6.961 MB / 382.1 MB Notification: Performance of Templates: time 0.01238/0.1819, allocations: 5.55 MB / 0.5156 GB, free: 1.477 MB / 382.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.37402163608931] Failed to read output from testmodel.py, exit status != 0: 0.4385947228875011 0.45054251700000003 0.30831450800000004 Calling exit ...