Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.00167/0.00167, 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.002117/0.002117, allocations: 217.9 kB / 23.01 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.03217/0.03217, allocations: 5.49 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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") [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.002289/0.002289, allocations: 73.91 kB / 447.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1031, allocations: 54.62 MB / 0.4903 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005677/0.1088, allocations: 3.488 MB / 0.4937 GB, free: 9.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1113, allocations: 1.32 MB / 0.495 GB, free: 7.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.1117, allocations: 4 kB / 0.495 GB, free: 7.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.1124, allocations: 242.6 kB / 0.4952 GB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.1129, allocations: 170.8 kB / 0.4954 GB, free: 7.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1132, allocations: 123.8 kB / 0.4955 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.1139, allocations: 0.5759 MB / 0.4961 GB, free: 6.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1141, allocations: 92.52 kB / 0.4962 GB, free: 6.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.1144, allocations: 223.2 kB / 0.4964 GB, free: 6.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.1148, allocations: 254.9 kB / 0.4966 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.1148, allocations: 56 kB / 0.4967 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.115, allocations: 75.98 kB / 0.4967 GB, free: 6.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1151, allocations: 111.6 kB / 0.4968 GB, free: 5.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.1153, allocations: 238.8 kB / 0.4971 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.116, allocations: 0.5525 MB / 0.4976 GB, free: 5.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.116, allocations: 0 / 0.4976 GB, free: 5.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.116, allocations: 0 / 0.4976 GB, free: 5.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.116, allocations: 0 / 0.4976 GB, free: 5.125 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002153/0.1182, allocations: 0.7501 MB / 0.4983 GB, free: 4.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1182, allocations: 16.02 kB / 0.4984 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.735e-05/0.1183, allocations: 48.59 kB / 0.4984 GB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.1196, allocations: 435.7 kB / 0.4988 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.1196, allocations: 24.62 kB / 0.4988 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.1196, allocations: 24 kB / 0.4989 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.1204, allocations: 324.4 kB / 0.4992 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1204, allocations: 0 / 0.4992 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1204, allocations: 15.94 kB / 0.4992 GB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1204, allocations: 4 kB / 0.4992 GB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1212, allocations: 285.8 kB / 0.4995 GB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.1238, allocations: 1.28 MB / 0.5007 GB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.1245, allocations: 214.5 kB / 0.5009 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.1249, allocations: 132.8 kB / 0.5011 GB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1249, allocations: 0 / 0.5011 GB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1249, allocations: 38.48 kB / 0.5011 GB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1249, allocations: 0 / 0.5011 GB, free: 1.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002527/0.1275, allocations: 0.5215 MB / 0.5016 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1275, allocations: 51.41 kB / 0.5016 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.128, allocations: 385.6 kB / 0.502 GB, free: 428 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.128, allocations: 33.7 kB / 0.502 GB, free: 388 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1282, allocations: 224.2 kB / 0.5023 GB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.1283, allocations: 51.53 kB / 0.5023 GB, free: 104 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1284, allocations: 65.64 kB / 0.5024 GB, free: 32 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1286, allocations: 346.8 kB / 0.5027 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.1289, allocations: 111.9 kB / 0.5028 GB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.1293, allocations: 155.5 kB / 0.503 GB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.13, allocations: 248 kB / 0.5032 GB, free: 15.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.13, allocations: 7.984 kB / 0.5032 GB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001372/0.1313, allocations: 465.1 kB / 0.5036 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1313, allocations: 10.81 kB / 0.5037 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1314, allocations: 4.062 kB / 0.5037 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000986/0.1323, allocations: 253.5 kB / 0.5039 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.1326, allocations: 47.91 kB / 0.5039 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.1352, allocations: 2.132 MB / 0.506 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1356, allocations: 39.86 kB / 0.5061 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.1356, allocations: 15.97 kB / 0.5061 GB, free: 12.04 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 (26): * Single equations (assignments): 24 * 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.0001868/0.1358, allocations: 155.4 kB / 0.5062 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1359, allocations: 43.77 kB / 0.5063 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.136, allocations: 35.19 kB / 0.5063 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.136, allocations: 4 kB / 0.5063 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.136, allocations: 3.938 kB / 0.5063 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.136, allocations: 0 / 0.5063 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.1378, allocations: 0.7669 MB / 0.5071 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1378, allocations: 3.984 kB / 0.5071 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1379, allocations: 23.98 kB / 0.5071 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.1384, allocations: 184.7 kB / 0.5073 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1384, allocations: 4 kB / 0.5073 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008552/0.1393, allocations: 0.6694 MB / 0.5079 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1393, allocations: 0 / 0.5079 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.1404, allocations: 440.8 kB / 0.5083 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1406, allocations: 59.67 kB / 0.5084 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.1406, allocations: 0 / 0.5084 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.1409, allocations: 27.97 kB / 0.5084 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.141, allocations: 7.984 kB / 0.5084 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.141, allocations: 4 kB / 0.5084 GB, free: 9.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.1413, allocations: 275.2 kB / 0.5087 GB, free: 9.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1413, allocations: 3.938 kB / 0.5087 GB, free: 9.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004/0.1417, allocations: 79.89 kB / 0.5088 GB, free: 9.164 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 (13): * Single equations (assignments): 12 * 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.0001514/0.1419, allocations: 111.1 kB / 0.5089 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.143, allocations: 402.2 kB / 0.5093 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.143, allocations: 0 / 0.5093 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.1433, allocations: 104 kB / 0.5094 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.1438, allocations: 73.34 kB / 0.5094 GB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1452, allocations: 0.6598 MB / 0.5101 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.1457, allocations: 0.7911 MB / 0.5109 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.1458, allocations: 23.44 kB / 0.5109 GB, free: 6.926 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1458, allocations: 0 / 0.5109 GB, free: 6.926 MB / 382.1 MB Notification: Performance of Templates: time 0.01041/0.1562, allocations: 6.911 MB / 0.5176 GB, free: 40 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.950617456110194] Failed to read output from testmodel.py, exit status != 0: 0.35170583985745907 0.364168149 0.24529183000000002 Calling exit ...