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.001801/0.001801, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002393/0.002393, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.793 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.03098/0.03098, allocations: 5.484 MB / 317.9 MB, free: 13.54 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.002839/0.002839, allocations: 67.89 kB / 446.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1409, allocations: 54.61 MB / 0.4895 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005783/0.1466, allocations: 3.197 MB / 0.4926 GB, free: 9.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.1494, allocations: 1.215 MB / 0.4938 GB, free: 8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004738/0.1499, allocations: 4 kB / 0.4938 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.1508, allocations: 214.7 kB / 0.494 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006916/0.1515, allocations: 166.8 kB / 0.4941 GB, free: 7.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.1518, allocations: 123.8 kB / 0.4943 GB, free: 7.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009368/0.1528, allocations: 0.5759 MB / 0.4948 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.153, allocations: 80.58 kB / 0.4949 GB, free: 6.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1535, allocations: 227.1 kB / 0.4951 GB, free: 6.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.1539, allocations: 234.9 kB / 0.4953 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.1541, allocations: 59.94 kB / 0.4954 GB, free: 6.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1543, allocations: 75.98 kB / 0.4955 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.1545, allocations: 107.6 kB / 0.4956 GB, free: 6.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.1548, allocations: 195.1 kB / 0.4958 GB, free: 5.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.1557, allocations: 0.5526 MB / 0.4963 GB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1557, allocations: 4 kB / 0.4963 GB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1557, allocations: 0 / 0.4963 GB, free: 5.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.1557, allocations: 0 / 0.4963 GB, free: 5.395 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.00231/0.158, allocations: 0.7578 MB / 0.497 GB, free: 4.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1581, allocations: 8.031 kB / 0.497 GB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.1582, allocations: 52.64 kB / 0.4971 GB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1596, allocations: 435.7 kB / 0.4975 GB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.1597, allocations: 24.62 kB / 0.4975 GB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.1597, allocations: 24 kB / 0.4976 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.1605, allocations: 346.1 kB / 0.4979 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1605, allocations: 0 / 0.4979 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.1606, allocations: 8 kB / 0.4979 GB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1606, allocations: 12 kB / 0.4979 GB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.1614, allocations: 281.8 kB / 0.4982 GB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.164, allocations: 1.152 MB / 0.4993 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.1647, allocations: 217.7 kB / 0.4995 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.1651, allocations: 132.8 kB / 0.4996 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1651, allocations: 0 / 0.4996 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1652, allocations: 34.56 kB / 0.4997 GB, free: 1.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.1652, allocations: 0 / 0.4997 GB, free: 1.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002295/0.1675, allocations: 0.5176 MB / 0.5002 GB, free: 1.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1675, allocations: 59.34 kB / 0.5002 GB, free: 1.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.168, allocations: 361.6 kB / 0.5006 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.168, allocations: 29.7 kB / 0.5006 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.1683, allocations: 224.4 kB / 0.5008 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1683, allocations: 63.47 kB / 0.5009 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1685, allocations: 57.69 kB / 0.5009 GB, free: 448 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1687, allocations: 342.8 kB / 0.5013 GB, free: 96 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.169, allocations: 115.9 kB / 0.5014 GB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.1693, allocations: 156 kB / 0.5015 GB, free: 15.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.17, allocations: 248.7 kB / 0.5018 GB, free: 15.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.17, allocations: 0 / 0.5018 GB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001324/0.1713, allocations: 465.2 kB / 0.5022 GB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1713, allocations: 8 kB / 0.5022 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1713, allocations: 0 / 0.5022 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/0.1723, allocations: 261.5 kB / 0.5025 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.1725, allocations: 47.91 kB / 0.5025 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.175, allocations: 2.113 MB / 0.5046 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.1754, allocations: 39.89 kB / 0.5046 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1754, allocations: 4 kB / 0.5046 GB, free: 12.49 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.0002106/0.1756, allocations: 152.1 kB / 0.5047 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1757, allocations: 39.77 kB / 0.5048 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.1758, allocations: 43.06 kB / 0.5048 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1758, allocations: 4 kB / 0.5048 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1758, allocations: 0 / 0.5048 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1758, allocations: 0 / 0.5048 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.1775, allocations: 0.6869 MB / 0.5055 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1775, allocations: 0 / 0.5055 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1776, allocations: 23.98 kB / 0.5055 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.178, allocations: 176.7 kB / 0.5057 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.178, allocations: 4 kB / 0.5057 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008131/0.1789, allocations: 0.6734 MB / 0.5064 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.1789, allocations: 3.938 kB / 0.5064 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1799, allocations: 439.8 kB / 0.5068 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1801, allocations: 47.78 kB / 0.5068 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.1801, allocations: 8 kB / 0.5068 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1804, allocations: 27.84 kB / 0.5069 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.1804, allocations: 7.984 kB / 0.5069 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1805, allocations: 8 kB / 0.5069 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.1808, allocations: 255.2 kB / 0.5071 GB, free: 9.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1808, allocations: 0 / 0.5071 GB, free: 9.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.1812, allocations: 91.77 kB / 0.5072 GB, free: 9.727 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.0001762/0.1814, allocations: 111.1 kB / 0.5073 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1824, allocations: 395.4 kB / 0.5077 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1824, allocations: 0 / 0.5077 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.1828, allocations: 100 kB / 0.5078 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.1833, allocations: 69.47 kB / 0.5078 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1847, allocations: 0.6376 MB / 0.5085 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.1849, allocations: 178.5 kB / 0.5086 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.185, allocations: 42.94 kB / 0.5087 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.1851, allocations: 23.44 kB / 0.5087 GB, free: 8.117 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1851, allocations: 0 / 0.5087 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Templates: time 0.01213/0.1972, allocations: 5.162 MB / 0.5137 GB, free: 3.039 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.450371505692601] Failed to read output from testmodel.py, exit status != 0: 0.20733064226806164 0.47645777400000006 0.317247233 Calling exit ...