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.001513/0.001513, 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.001665/0.001665, allocations: 214.4 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.02863/0.02863, allocations: 5.489 MB / 318.7 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.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.001988/0.001988, allocations: 71.89 kB / 447.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 54.63 MB / 0.4902 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00492/0.1075, allocations: 3.135 MB / 0.4933 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1095, allocations: 1.204 MB / 0.4944 GB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1097, allocations: 4 kB / 0.4944 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.1102, allocations: 206.7 kB / 0.4946 GB, free: 7.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.1106, allocations: 158.9 kB / 0.4948 GB, free: 7.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1109, allocations: 131.8 kB / 0.4949 GB, free: 7.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.1115, allocations: 0.5643 MB / 0.4955 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1117, allocations: 80.58 kB / 0.4955 GB, free: 6.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.1119, allocations: 215.2 kB / 0.4958 GB, free: 6.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.1122, allocations: 226.9 kB / 0.496 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.1123, allocations: 56 kB / 0.496 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1125, allocations: 71.98 kB / 0.4961 GB, free: 6.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.1125, allocations: 107.6 kB / 0.4962 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1127, allocations: 191.1 kB / 0.4964 GB, free: 6.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.1134, allocations: 0.537 MB / 0.4969 GB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1134, allocations: 4 kB / 0.4969 GB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1134, allocations: 0 / 0.4969 GB, free: 5.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1134, allocations: 3.938 kB / 0.4969 GB, free: 5.535 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.001834/0.1152, allocations: 0.7462 MB / 0.4976 GB, free: 4.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1152, allocations: 8.031 kB / 0.4976 GB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.1153, allocations: 44.66 kB / 0.4977 GB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1164, allocations: 423.7 kB / 0.4981 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.1164, allocations: 20.62 kB / 0.4981 GB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1165, allocations: 23.94 kB / 0.4981 GB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.1171, allocations: 322 kB / 0.4984 GB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1171, allocations: 4 kB / 0.4984 GB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.1171, allocations: 12 kB / 0.4985 GB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1172, allocations: 4 kB / 0.4985 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.1177, allocations: 241.5 kB / 0.4987 GB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.1198, allocations: 1.112 MB / 0.4998 GB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.1203, allocations: 178.5 kB / 0.4999 GB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.1206, allocations: 104.8 kB / 0.5 GB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1206, allocations: 4 kB / 0.5001 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1206, allocations: 34.55 kB / 0.5001 GB, free: 2.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1206, allocations: 0 / 0.5001 GB, free: 2.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002039/0.1227, allocations: 482 kB / 0.5005 GB, free: 1.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1227, allocations: 51.41 kB / 0.5006 GB, free: 1.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.1232, allocations: 369.6 kB / 0.5009 GB, free: 1.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1232, allocations: 25.7 kB / 0.501 GB, free: 1.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1234, allocations: 220.1 kB / 0.5012 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1234, allocations: 51.56 kB / 0.5012 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.1235, allocations: 49.69 kB / 0.5013 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1237, allocations: 346.7 kB / 0.5016 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1239, allocations: 99.94 kB / 0.5017 GB, free: 404 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.1242, allocations: 139.3 kB / 0.5018 GB, free: 252 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.1247, allocations: 212.9 kB / 0.502 GB, free: 28 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1247, allocations: 3.938 kB / 0.502 GB, free: 24 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001346/0.126, allocations: 438.5 kB / 0.5025 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.126, allocations: 8 kB / 0.5025 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.126, allocations: 96 / 0.5025 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008135/0.1268, allocations: 245.5 kB / 0.5027 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.127, allocations: 47.91 kB / 0.5027 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.1294, allocations: 2.082 MB / 0.5048 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.1297, allocations: 39.8 kB / 0.5048 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1297, allocations: 8.141 kB / 0.5048 GB, free: 13.03 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.0001727/0.1299, allocations: 153.8 kB / 0.505 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.1299, allocations: 31.81 kB / 0.505 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.13, allocations: 31 kB / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.13, allocations: 4 kB / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.13, allocations: 0 / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.13, allocations: 7.922 kB / 0.505 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.1311, allocations: 0.5894 MB / 0.5056 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1311, allocations: 11.94 kB / 0.5056 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.1312, allocations: 20.02 kB / 0.5056 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003311/0.1315, allocations: 168.7 kB / 0.5058 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1316, allocations: 7.984 kB / 0.5058 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007173/0.1323, allocations: 0.646 MB / 0.5064 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1323, allocations: 0 / 0.5064 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.1329, allocations: 364.8 kB / 0.5068 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1331, allocations: 47.84 kB / 0.5068 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.1331, allocations: 4 kB / 0.5068 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1333, allocations: 15.97 kB / 0.5069 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1334, allocations: 15.92 kB / 0.5069 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1334, allocations: 4 kB / 0.5069 GB, free: 10.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.1337, allocations: 251.2 kB / 0.5071 GB, free: 10.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1337, allocations: 0 / 0.5071 GB, free: 10.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.134, allocations: 83.78 kB / 0.5072 GB, free: 10.49 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.0001472/0.1342, allocations: 111.1 kB / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.1351, allocations: 363.1 kB / 0.5077 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.1351, allocations: 288 / 0.5077 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.1353, allocations: 91.81 kB / 0.5077 GB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.1358, allocations: 72.97 kB / 0.5078 GB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1369, allocations: 0.6192 MB / 0.5084 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.1371, allocations: 169.1 kB / 0.5086 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.1372, allocations: 27.44 kB / 0.5086 GB, free: 8.977 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1372, allocations: 4 kB / 0.5086 GB, free: 8.973 MB / 382.1 MB Notification: Performance of Templates: time 0.009459/0.1466, allocations: 6.605 MB / 0.5151 GB, free: 2.383 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.110744367353618] Failed to read output from testmodel.py, exit status != 0: 0.15418083919212222 0.31293754300000004 0.197168598 Calling exit ...