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.001613/0.001613, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001588/0.001588, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8 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.03081/0.03081, allocations: 5.489 MB / 318.7 MB, free: 13.71 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.002114/0.002114, allocations: 71.89 kB / 447.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09262, allocations: 54.62 MB / 0.4903 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004737/0.09736, allocations: 3.333 MB / 0.4936 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.09941, allocations: 1.285 MB / 0.4948 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.09964, allocations: 7.938 kB / 0.4948 GB, free: 8.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.1003, allocations: 230.8 kB / 0.495 GB, free: 7.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.1007, allocations: 154.9 kB / 0.4952 GB, free: 7.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1009, allocations: 119.8 kB / 0.4953 GB, free: 7.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.1015, allocations: 0.5216 MB / 0.4958 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1017, allocations: 84.58 kB / 0.4959 GB, free: 6.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.102, allocations: 207.2 kB / 0.4961 GB, free: 6.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.1023, allocations: 235 kB / 0.4963 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.1024, allocations: 52 kB / 0.4964 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1026, allocations: 79.97 kB / 0.4964 GB, free: 6.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.1026, allocations: 99.66 kB / 0.4965 GB, free: 6.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1029, allocations: 215 kB / 0.4967 GB, free: 6.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006039/0.1035, allocations: 0.5097 MB / 0.4972 GB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1035, allocations: 0 / 0.4972 GB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1035, allocations: 0 / 0.4972 GB, free: 5.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1035, allocations: 0 / 0.4972 GB, free: 5.543 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.001986/0.1055, allocations: 0.7151 MB / 0.4979 GB, free: 4.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1055, allocations: 12.03 kB / 0.4979 GB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.1056, allocations: 44.66 kB / 0.498 GB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1066, allocations: 397.3 kB / 0.4984 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1067, allocations: 16.56 kB / 0.4984 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.1067, allocations: 23.94 kB / 0.4984 GB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.1072, allocations: 283.3 kB / 0.4987 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1073, allocations: 0 / 0.4987 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1073, allocations: 8 kB / 0.4987 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1073, allocations: 8 kB / 0.4987 GB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.1079, allocations: 228.9 kB / 0.4989 GB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.11, allocations: 1.219 MB / 0.5001 GB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1104, allocations: 142.4 kB / 0.5002 GB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1107, allocations: 96.78 kB / 0.5003 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1107, allocations: 4 kB / 0.5003 GB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1108, allocations: 34.56 kB / 0.5004 GB, free: 2.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1108, allocations: 0 / 0.5004 GB, free: 2.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007434/0.1115, allocations: 249.5 kB / 0.5006 GB, free: 1.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1115, allocations: 51.41 kB / 0.5006 GB, free: 1.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.112, allocations: 381.6 kB / 0.501 GB, free: 1.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.112, allocations: 25.7 kB / 0.501 GB, free: 1.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1122, allocations: 208.2 kB / 0.5012 GB, free: 1.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1122, allocations: 31.73 kB / 0.5013 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.1123, allocations: 53.64 kB / 0.5013 GB, free: 1.137 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1124, allocations: 350.7 kB / 0.5016 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1127, allocations: 95.94 kB / 0.5017 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.113, allocations: 128.9 kB / 0.5019 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.1134, allocations: 195.3 kB / 0.502 GB, free: 360 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1134, allocations: 0 / 0.502 GB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001018/0.1145, allocations: 356.8 kB / 0.5024 GB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1145, allocations: 4 kB / 0.5024 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1145, allocations: 0 / 0.5024 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/0.115, allocations: 76.83 kB / 0.5025 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.1153, allocations: 51.95 kB / 0.5025 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.1169, allocations: 1.47 MB / 0.504 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.1172, allocations: 35.98 kB / 0.504 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.1173, allocations: 12 kB / 0.504 GB, free: 14.23 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.0001559/0.1174, allocations: 149.7 kB / 0.5041 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.1175, allocations: 31.81 kB / 0.5042 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.1176, allocations: 27 kB / 0.5042 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1176, allocations: 3.938 kB / 0.5042 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1176, allocations: 4 kB / 0.5042 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1176, allocations: 4 kB / 0.5042 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000946/0.1185, allocations: 0.5687 MB / 0.5048 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1185, allocations: 0 / 0.5048 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1187, allocations: 23.97 kB / 0.5048 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1187, allocations: 8.031 kB / 0.5048 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1187, allocations: 7.922 kB / 0.5048 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1187, allocations: 0 / 0.5048 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1187, allocations: 0 / 0.5048 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.1192, allocations: 308 kB / 0.5051 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1193, allocations: 43.78 kB / 0.5051 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.1194, allocations: 0 / 0.5051 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1196, allocations: 23.97 kB / 0.5052 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1197, allocations: 3.938 kB / 0.5052 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1197, allocations: 7.984 kB / 0.5052 GB, free: 12.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002933/0.12, allocations: 259.2 kB / 0.5054 GB, free: 12.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.12, allocations: 0 / 0.5054 GB, free: 12.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1203, allocations: 75.89 kB / 0.5055 GB, free: 12.61 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.0001225/0.1205, allocations: 107.1 kB / 0.5056 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008016/0.1213, allocations: 335.4 kB / 0.5059 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1213, allocations: 0 / 0.5059 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1215, allocations: 71.89 kB / 0.506 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.122, allocations: 74.3 kB / 0.5061 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.123, allocations: 0.5742 MB / 0.5066 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1234, allocations: 0.7756 MB / 0.5074 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1235, allocations: 27.44 kB / 0.5074 GB, free: 10.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1235, allocations: 0 / 0.5074 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Templates: time 0.008228/0.1318, allocations: 5.055 MB / 0.5123 GB, free: 5.555 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: 7.572944289073348] Failed to read output from testmodel.py, exit status != 0: 0.13936333102174103 0.299304859 0.193151272 Calling exit ...