Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.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.001747/0.001747, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002471/0.002471, allocations: 224.4 kB / 22.26 MB, free: 5.215 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 8.02 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.03091/0.03091, allocations: 5.481 MB / 317.9 MB, free: 13.75 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.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") [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.002189/0.002189, allocations: 59.91 kB / 446.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1455, allocations: 54.62 MB / 0.4895 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.009561/0.155, allocations: 5.226 MB / 0.4946 GB, free: 7.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.1603, allocations: 1.928 MB / 0.4965 GB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1615, allocations: 15.94 kB / 0.4965 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.1629, allocations: 294 kB / 0.4968 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.1647, allocations: 305.8 kB / 0.4971 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1658, allocations: 327.4 kB / 0.4974 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1682, allocations: 1.11 MB / 0.4985 GB, free: 3.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.169, allocations: 307.4 kB / 0.4988 GB, free: 3.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1702, allocations: 466.4 kB / 0.4993 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1715, allocations: 0.5253 MB / 0.4998 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004426/0.1719, allocations: 112 kB / 0.4999 GB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.1727, allocations: 195.9 kB / 0.5001 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.1731, allocations: 227.2 kB / 0.5003 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.1738, allocations: 493.7 kB / 0.5007 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.1755, allocations: 1.195 MB / 0.5019 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1755, allocations: 0 / 0.5019 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1755, allocations: 0 / 0.5019 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1755, allocations: 0 / 0.5019 GB, free: 15.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003476/0.179, allocations: 1.252 MB / 0.5031 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.179, allocations: 23.84 kB / 0.5032 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.1793, allocations: 100.3 kB / 0.5033 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.181, allocations: 0.5738 MB / 0.5038 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.1811, allocations: 57.98 kB / 0.5039 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1812, allocations: 72 kB / 0.5039 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.1827, allocations: 0.7854 MB / 0.5047 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.1827, allocations: 4 kB / 0.5047 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.1828, allocations: 32 kB / 0.5047 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.1828, allocations: 20 kB / 0.5048 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1842, allocations: 0.5933 MB / 0.5053 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.1896, allocations: 2.675 MB / 0.5079 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1911, allocations: 491.5 kB / 0.5084 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.1917, allocations: 209.9 kB / 0.5086 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1918, allocations: 12.38 kB / 0.5086 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007837/0.1926, allocations: 389.1 kB / 0.509 GB, free: 8.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.695e-06/0.1926, allocations: 0 / 0.509 GB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.0032/0.1958, allocations: 0.9579 MB / 0.5099 GB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.196, allocations: 200.3 kB / 0.5101 GB, free: 7.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/0.1968, allocations: 461.9 kB / 0.5106 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.1968, allocations: 41.69 kB / 0.5106 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.1973, allocations: 372.4 kB / 0.511 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.1975, allocations: 182.5 kB / 0.5111 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.1978, allocations: 146.6 kB / 0.5113 GB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.198, allocations: 370.8 kB / 0.5116 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.1986, allocations: 209.9 kB / 0.5118 GB, free: 5.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.1993, allocations: 369.9 kB / 0.5122 GB, free: 5.047 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/0.2147, allocations: 2.839 MB / 0.515 GB, free: 2.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.2147, allocations: 0 / 0.515 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002197/0.2169, allocations: 0.829 MB / 0.5158 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.217, allocations: 66.2 kB / 0.5158 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.217, allocations: 4 kB / 0.5158 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.2176, allocations: 88.88 kB / 0.5159 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.2184, allocations: 171.7 kB / 0.5161 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/0.5062, allocations: 1.464 MB / 0.5175 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.5071, allocations: 75.72 kB / 0.5176 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.5072, allocations: 35.66 kB / 0.5176 GB, free: 31.64 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 22 (irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 2 * 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.0004775/0.5077, allocations: 289.7 kB / 0.5179 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5078, allocations: 69.17 kB / 0.518 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.5097, allocations: 0.9043 MB / 0.5188 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5097, allocations: 6.656 kB / 0.5188 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5097, allocations: 1.125 kB / 0.5188 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5097, allocations: 3.219 kB / 0.5189 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.5127, allocations: 1.643 MB / 0.5205 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5127, allocations: 1.781 kB / 0.5205 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.5132, allocations: 100.4 kB / 0.5206 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/0.5138, allocations: 264.6 kB / 0.5208 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.5139, allocations: 21.7 kB / 0.5208 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009376/0.5148, allocations: 0.8295 MB / 0.5216 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5148, allocations: 0 / 0.5216 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.5173, allocations: 1.209 MB / 0.5228 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.5176, allocations: 124.4 kB / 0.5229 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5177, allocations: 22.36 kB / 0.523 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.5182, allocations: 40.39 kB / 0.523 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5183, allocations: 52.31 kB / 0.523 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.5184, allocations: 26.83 kB / 0.5231 GB, free: 30.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.5188, allocations: 325.8 kB / 0.5234 GB, free: 30.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5188, allocations: 0 / 0.5234 GB, free: 30.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008302/0.5196, allocations: 234.8 kB / 0.5236 GB, free: 30.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.integrator.y,battery.energy,battery.capacitor.v) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 13 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002439/0.5199, allocations: 159.6 kB / 0.5238 GB, free: 29.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.5216, allocations: 0.7917 MB / 0.5245 GB, free: 29.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5216, allocations: 0 / 0.5245 GB, free: 29.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.5223, allocations: 404.9 kB / 0.5249 GB, free: 29.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.523, allocations: 123.6 kB / 0.525 GB, free: 29.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.5258, allocations: 1.407 MB / 0.5264 GB, free: 28.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.5263, allocations: 0.9335 MB / 0.5273 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003586/0.5267, allocations: 93.88 kB / 0.5274 GB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5269, allocations: 68.64 kB / 0.5275 GB, free: 28.2 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5269, allocations: 4 kB / 0.5275 GB, free: 28.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02126/0.5481, allocations: 9.92 MB / 0.5372 GB, free: 25.44 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.907613014103845] Failed to read output from testmodel.py, exit status != 0: 0.5570685330312699 0.5664603779999999 0.38858393499999994 Calling exit ...