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.001341/0.001341, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00156/0.00156, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.805 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.03016/0.03016, allocations: 5.488 MB / 317.9 MB, free: 13.55 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.001987/0.001987, allocations: 67.89 kB / 446.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.13, allocations: 54.62 MB / 0.4895 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005344/0.1354, allocations: 3.074 MB / 0.4925 GB, free: 9.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.138, allocations: 1.168 MB / 0.4936 GB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.1385, allocations: 7.938 kB / 0.4936 GB, free: 8.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007845/0.1393, allocations: 206.8 kB / 0.4938 GB, free: 7.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.1399, allocations: 146.9 kB / 0.4939 GB, free: 7.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1403, allocations: 119.8 kB / 0.4941 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008685/0.1411, allocations: 0.5216 MB / 0.4946 GB, free: 7.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.1414, allocations: 76.58 kB / 0.4946 GB, free: 7.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.1418, allocations: 211.2 kB / 0.4948 GB, free: 6.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.1423, allocations: 219 kB / 0.4951 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1424, allocations: 52 kB / 0.4951 GB, free: 6.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1426, allocations: 64 kB / 0.4952 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1427, allocations: 111.5 kB / 0.4953 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.143, allocations: 179.2 kB / 0.4954 GB, free: 6.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.1437, allocations: 0.5098 MB / 0.4959 GB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1438, allocations: 0 / 0.4959 GB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1438, allocations: 0 / 0.4959 GB, free: 5.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.1438, allocations: 0 / 0.4959 GB, free: 5.754 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.002337/0.1461, allocations: 0.7151 MB / 0.4966 GB, free: 5.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1462, allocations: 12.03 kB / 0.4967 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.1463, allocations: 44.66 kB / 0.4967 GB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1473, allocations: 389.3 kB / 0.4971 GB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1473, allocations: 20.56 kB / 0.4971 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.1474, allocations: 20 kB / 0.4971 GB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.1479, allocations: 283.3 kB / 0.4974 GB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1479, allocations: 4 kB / 0.4974 GB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.148, allocations: 12 kB / 0.4974 GB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.148, allocations: 4 kB / 0.4974 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.1485, allocations: 232.9 kB / 0.4976 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.1507, allocations: 1.095 MB / 0.4987 GB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.1511, allocations: 146.5 kB / 0.4988 GB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.1514, allocations: 100.8 kB / 0.4989 GB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1514, allocations: 0 / 0.4989 GB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1515, allocations: 34.56 kB / 0.499 GB, free: 2.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1515, allocations: 0 / 0.499 GB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007763/0.1522, allocations: 245.3 kB / 0.4992 GB, free: 2.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1523, allocations: 51.41 kB / 0.4992 GB, free: 2.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.1527, allocations: 361.6 kB / 0.4996 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1528, allocations: 25.7 kB / 0.4996 GB, free: 1.797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.153, allocations: 224 kB / 0.4998 GB, free: 1.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.153, allocations: 31.94 kB / 0.4998 GB, free: 1.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1531, allocations: 45.69 kB / 0.4999 GB, free: 1.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1533, allocations: 342.8 kB / 0.5002 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1535, allocations: 99.94 kB / 0.5003 GB, free: 1.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.1538, allocations: 125 kB / 0.5004 GB, free: 0.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.1543, allocations: 203.2 kB / 0.5006 GB, free: 0.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1543, allocations: 4 kB / 0.5006 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009759/0.1553, allocations: 344.8 kB / 0.501 GB, free: 368 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1553, allocations: 8.094 kB / 0.501 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1553, allocations: 0 / 0.501 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.1558, allocations: 72.78 kB / 0.501 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.1561, allocations: 55.95 kB / 0.5011 GB, free: 228 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.1578, allocations: 1.444 MB / 0.5025 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.1581, allocations: 35.86 kB / 0.5025 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.1582, allocations: 15.92 kB / 0.5026 GB, free: 14.62 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.0001802/0.1584, allocations: 149.9 kB / 0.5027 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.1584, allocations: 31.75 kB / 0.5027 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.1585, allocations: 34.8 kB / 0.5028 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1585, allocations: 4 kB / 0.5028 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.1585, allocations: 0 / 0.5028 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1585, allocations: 3.984 kB / 0.5028 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/0.1595, allocations: 0.4948 MB / 0.5032 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1595, allocations: 0 / 0.5032 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1597, allocations: 27.97 kB / 0.5033 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1597, allocations: 0 / 0.5033 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1597, allocations: 0 / 0.5033 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1597, allocations: 4 kB / 0.5033 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1597, allocations: 0 / 0.5033 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.1602, allocations: 300 kB / 0.5036 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1603, allocations: 39.78 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.1604, allocations: 8 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1606, allocations: 11.98 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1606, allocations: 7.984 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1606, allocations: 0 / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.161, allocations: 251.2 kB / 0.5039 GB, free: 13.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.161, allocations: 0 / 0.5039 GB, free: 13.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.1614, allocations: 75.83 kB / 0.5039 GB, free: 13.13 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.0001612/0.1615, allocations: 99.19 kB / 0.504 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000851/0.1624, allocations: 343.8 kB / 0.5044 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1624, allocations: 4.062 kB / 0.5044 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.1626, allocations: 67.89 kB / 0.5044 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.1632, allocations: 66.81 kB / 0.5045 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1644, allocations: 0.5444 MB / 0.505 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.1646, allocations: 165.1 kB / 0.5052 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1648, allocations: 42.95 kB / 0.5052 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.1649, allocations: 23.42 kB / 0.5052 GB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1649, allocations: 0 / 0.5052 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Templates: time 0.009959/0.1748, allocations: 4.066 MB / 0.5092 GB, free: 7.727 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.151914639398456] Failed to read output from testmodel.py, exit status != 0: 0.18415083177387714 0.44520001600000003 0.29828673 Calling exit ...