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.001505/0.001505, 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.001445/0.001445, allocations: 212 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.02909/0.02909, allocations: 5.481 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.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.001978/0.001978, allocations: 68.17 kB / 447.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09635, allocations: 54.62 MB / 0.4902 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004543/0.1009, allocations: 3.072 MB / 0.4932 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1027, allocations: 1.176 MB / 0.4943 GB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1028, allocations: 7.938 kB / 0.4944 GB, free: 8.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1033, allocations: 202.8 kB / 0.4945 GB, free: 7.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1037, allocations: 154.9 kB / 0.4947 GB, free: 7.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1039, allocations: 115.8 kB / 0.4948 GB, free: 7.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.1044, allocations: 0.5293 MB / 0.4953 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1046, allocations: 72.59 kB / 0.4954 GB, free: 7.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1048, allocations: 211.2 kB / 0.4956 GB, free: 6.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1051, allocations: 211 kB / 0.4958 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.1052, allocations: 48 kB / 0.4958 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1053, allocations: 71.98 kB / 0.4959 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.1054, allocations: 111.6 kB / 0.496 GB, free: 6.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1055, allocations: 171.2 kB / 0.4962 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1061, allocations: 0.5214 MB / 0.4967 GB, free: 5.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1061, allocations: 0 / 0.4967 GB, free: 5.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1061, allocations: 0 / 0.4967 GB, free: 5.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1061, allocations: 0 / 0.4967 GB, free: 5.746 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.001749/0.1079, allocations: 0.7073 MB / 0.4974 GB, free: 5.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1079, allocations: 12.03 kB / 0.4974 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.108, allocations: 44.66 kB / 0.4974 GB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000949/0.1089, allocations: 397.3 kB / 0.4978 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.109, allocations: 20.56 kB / 0.4978 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.109, allocations: 24 kB / 0.4979 GB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.1095, allocations: 279.3 kB / 0.4981 GB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1095, allocations: 3.984 kB / 0.4981 GB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1096, allocations: 8 kB / 0.4981 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1096, allocations: 8 kB / 0.4981 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.1101, allocations: 232.9 kB / 0.4984 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1121, allocations: 1.099 MB / 0.4994 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.1125, allocations: 134.5 kB / 0.4996 GB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1127, allocations: 96.78 kB / 0.4997 GB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1128, allocations: 8 kB / 0.4997 GB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1128, allocations: 30.56 kB / 0.4997 GB, free: 2.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1128, allocations: 0 / 0.4997 GB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007172/0.1135, allocations: 241.3 kB / 0.4999 GB, free: 2.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1135, allocations: 55.41 kB / 0.5 GB, free: 2.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1139, allocations: 361.6 kB / 0.5003 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.114, allocations: 29.7 kB / 0.5003 GB, free: 1.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1141, allocations: 228.2 kB / 0.5006 GB, free: 1.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1142, allocations: 23.81 kB / 0.5006 GB, free: 1.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.1143, allocations: 45.69 kB / 0.5006 GB, free: 1.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1144, allocations: 346.7 kB / 0.501 GB, free: 1.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.1147, allocations: 95.94 kB / 0.5011 GB, free: 1.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1149, allocations: 131.4 kB / 0.5012 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.1154, allocations: 199.2 kB / 0.5014 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1154, allocations: 0 / 0.5014 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009423/0.1163, allocations: 345.3 kB / 0.5017 GB, free: 368 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1164, allocations: 11.98 kB / 0.5017 GB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1164, allocations: 0 / 0.5017 GB, free: 356 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.1168, allocations: 72.89 kB / 0.5018 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.1171, allocations: 51.95 kB / 0.5018 GB, free: 228 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.1187, allocations: 1.451 MB / 0.5032 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.119, allocations: 35.77 kB / 0.5033 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.119, allocations: 15.98 kB / 0.5033 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.0001584/0.1191, allocations: 135.5 kB / 0.5034 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.1192, allocations: 43.69 kB / 0.5035 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.1193, allocations: 30.86 kB / 0.5035 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1193, allocations: 4.094 kB / 0.5035 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1193, allocations: 0 / 0.5035 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1193, allocations: 0 / 0.5035 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.1201, allocations: 0.4987 MB / 0.504 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1201, allocations: 0 / 0.504 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1203, allocations: 28 kB / 0.504 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1203, allocations: 4 kB / 0.504 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1203, allocations: 0 / 0.504 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1203, allocations: 0 / 0.504 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1203, allocations: 0 / 0.504 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.1208, allocations: 300.4 kB / 0.5043 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.1209, allocations: 35.8 kB / 0.5043 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.121, allocations: 8 kB / 0.5043 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1212, allocations: 19.97 kB / 0.5044 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1212, allocations: 0 / 0.5044 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1212, allocations: 7.984 kB / 0.5044 GB, free: 13.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.1215, allocations: 247.2 kB / 0.5046 GB, free: 13.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1215, allocations: 0 / 0.5046 GB, free: 13.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.1218, allocations: 75.83 kB / 0.5047 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.0001313/0.1219, allocations: 103.2 kB / 0.5048 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.1227, allocations: 339.3 kB / 0.5051 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1227, allocations: 4 kB / 0.5051 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1229, allocations: 72.12 kB / 0.5052 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.0004362/0.1234, allocations: 72.06 kB / 0.5052 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1244, allocations: 0.5692 MB / 0.5058 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.1245, allocations: 169.1 kB / 0.506 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1246, allocations: 27.42 kB / 0.506 GB, free: 11.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1246, allocations: 0 / 0.506 GB, free: 11.71 MB / 382.1 MB Notification: Performance of Templates: time 0.007613/0.1322, allocations: 5.024 MB / 0.5109 GB, free: 6.707 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: 6.878031897824258] Failed to read output from testmodel.py, exit status != 0: 0.1396211558021605 0.29252357199999995 0.18396619999999994 Calling exit ...