Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001472/0.001472, 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.001983/0.001983, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.98 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.0311/0.0311, allocations: 5.487 MB / 317.9 MB, free: 13.73 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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") [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.002371/0.002371, allocations: 63.91 kB / 446.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1157, allocations: 54.61 MB / 0.4895 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004981/0.1207, allocations: 3.349 MB / 0.4928 GB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.123, allocations: 1.277 MB / 0.4941 GB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.1231, allocations: 7.938 kB / 0.4941 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.1237, allocations: 234.8 kB / 0.4943 GB, free: 7.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.1241, allocations: 150.9 kB / 0.4944 GB, free: 7.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1243, allocations: 119.8 kB / 0.4945 GB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.1249, allocations: 0.5254 MB / 0.4951 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1251, allocations: 84.56 kB / 0.4951 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.1254, allocations: 207.2 kB / 0.4953 GB, free: 6.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.1257, allocations: 243 kB / 0.4956 GB, free: 6.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.1258, allocations: 52 kB / 0.4956 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1259, allocations: 71.98 kB / 0.4957 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.126, allocations: 95.67 kB / 0.4958 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.1263, allocations: 222.9 kB / 0.496 GB, free: 6.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.1269, allocations: 0.502 MB / 0.4965 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1269, allocations: 0 / 0.4965 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1269, allocations: 0 / 0.4965 GB, free: 5.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1269, allocations: 0 / 0.4965 GB, free: 5.566 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00194/0.1288, allocations: 0.7151 MB / 0.4972 GB, free: 4.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1289, allocations: 15.97 kB / 0.4972 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.129, allocations: 48.66 kB / 0.4972 GB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.1301, allocations: 393.3 kB / 0.4976 GB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1301, allocations: 20.56 kB / 0.4976 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.1302, allocations: 19.94 kB / 0.4977 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1307, allocations: 283.4 kB / 0.4979 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1307, allocations: 0 / 0.4979 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.1308, allocations: 4 kB / 0.4979 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.1308, allocations: 8 kB / 0.4979 GB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.1314, allocations: 224.9 kB / 0.4982 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1336, allocations: 1.227 MB / 0.4994 GB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.134, allocations: 138.5 kB / 0.4995 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.1344, allocations: 96.8 kB / 0.4996 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1344, allocations: 3.984 kB / 0.4996 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.1344, allocations: 34.56 kB / 0.4996 GB, free: 2.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.1344, allocations: 0 / 0.4996 GB, free: 2.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007822/0.1352, allocations: 253.5 kB / 0.4999 GB, free: 1.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1353, allocations: 51.41 kB / 0.4999 GB, free: 1.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1357, allocations: 373.6 kB / 0.5003 GB, free: 1.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1357, allocations: 25.7 kB / 0.5003 GB, free: 1.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1359, allocations: 212.2 kB / 0.5005 GB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.136, allocations: 35.73 kB / 0.5005 GB, free: 1.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1361, allocations: 53.64 kB / 0.5006 GB, free: 1.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1363, allocations: 342.8 kB / 0.5009 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1365, allocations: 95.94 kB / 0.501 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1368, allocations: 125.6 kB / 0.5011 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.1373, allocations: 207.2 kB / 0.5013 GB, free: 380 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1373, allocations: 0 / 0.5013 GB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001036/0.1384, allocations: 360.9 kB / 0.5017 GB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1384, allocations: 4 kB / 0.5017 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1384, allocations: 0 / 0.5017 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.1389, allocations: 76.88 kB / 0.5017 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.1392, allocations: 55.89 kB / 0.5018 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.1409, allocations: 1.463 MB / 0.5032 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.1413, allocations: 39.84 kB / 0.5032 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1413, allocations: 8.047 kB / 0.5033 GB, free: 14.25 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001778/0.1415, allocations: 149.7 kB / 0.5034 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.1415, allocations: 35.8 kB / 0.5034 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.1416, allocations: 27 kB / 0.5035 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1416, allocations: 4.062 kB / 0.5035 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1416, allocations: 7.984 kB / 0.5035 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1416, allocations: 0 / 0.5035 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1426, allocations: 0.5684 MB / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1426, allocations: 0 / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1428, allocations: 28 kB / 0.5041 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1428, allocations: 4 kB / 0.5041 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1428, allocations: 0 / 0.5041 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1428, allocations: 0 / 0.5041 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1428, allocations: 0 / 0.5041 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.1434, allocations: 308 kB / 0.5043 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1435, allocations: 43.78 kB / 0.5044 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.1435, allocations: 0 / 0.5044 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1438, allocations: 15.98 kB / 0.5044 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1438, allocations: 7.922 kB / 0.5044 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1438, allocations: 8 kB / 0.5044 GB, free: 12.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.1441, allocations: 259.2 kB / 0.5047 GB, free: 12.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1441, allocations: 0 / 0.5047 GB, free: 12.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1445, allocations: 75.88 kB / 0.5047 GB, free: 12.64 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.1446, allocations: 107.1 kB / 0.5048 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008555/0.1455, allocations: 339.3 kB / 0.5052 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1455, allocations: 0 / 0.5052 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.1457, allocations: 72.41 kB / 0.5052 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.1462, allocations: 76.47 kB / 0.5053 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1473, allocations: 0.5453 MB / 0.5058 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.1477, allocations: 0.7678 MB / 0.5066 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1479, allocations: 42.95 kB / 0.5066 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.148, allocations: 27.42 kB / 0.5067 GB, free: 10.6 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.148, allocations: 0 / 0.5067 GB, free: 10.6 MB / 382.1 MB Notification: Performance of Templates: time 0.009123/0.1571, allocations: 3.87 MB / 0.5104 GB, free: 6.789 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.002930992050096] Failed to read output from testmodel.py, exit status != 0: 0.16546767787076533 0.36420128199999996 0.23436435400000002 Calling exit ...