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.001843/0.001843, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00243/0.00243, allocations: 212 kB / 22.24 MB, free: 5.262 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.781 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.03258/0.03258, allocations: 5.48 MB / 317.9 MB, free: 13.53 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.003685/0.003685, allocations: 67.91 kB / 446.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1422, allocations: 54.62 MB / 0.4895 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.008199/0.1504, allocations: 4.67 MB / 0.494 GB, free: 7.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.1552, allocations: 1.776 MB / 0.4958 GB, free: 5.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.1561, allocations: 11.94 kB / 0.4958 GB, free: 5.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.1572, allocations: 266.1 kB / 0.496 GB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1585, allocations: 317.8 kB / 0.4963 GB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.1595, allocations: 323.4 kB / 0.4966 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.1613, allocations: 1.102 MB / 0.4977 GB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006849/0.162, allocations: 295.4 kB / 0.498 GB, free: 3.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.163, allocations: 458.4 kB / 0.4984 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.1643, allocations: 481.8 kB / 0.4989 GB, free: 2.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.1648, allocations: 112 kB / 0.499 GB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.1655, allocations: 187.9 kB / 0.4992 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.1659, allocations: 227.2 kB / 0.4994 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009781/0.1669, allocations: 410.2 kB / 0.4998 GB, free: 1.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.1692, allocations: 1.206 MB / 0.501 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.1693, allocations: 7.938 kB / 0.501 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1693, allocations: 0 / 0.501 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.289e-05/0.1693, allocations: 0 / 0.501 GB, free: 0.5469 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003405/0.1727, allocations: 1.245 MB / 0.5022 GB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1727, allocations: 12.03 kB / 0.5022 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1729, allocations: 100.3 kB / 0.5023 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1745, allocations: 0.5855 MB / 0.5029 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.1746, allocations: 58 kB / 0.5029 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1747, allocations: 72 kB / 0.503 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.1762, allocations: 0.8897 MB / 0.5039 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1762, allocations: 7.984 kB / 0.5039 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.1763, allocations: 31.94 kB / 0.5039 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.1763, allocations: 20 kB / 0.5039 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1777, allocations: 0.6591 MB / 0.5046 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.182, allocations: 2.367 MB / 0.5069 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.1834, allocations: 0.5301 MB / 0.5074 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.184, allocations: 277.3 kB / 0.5076 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.1841, allocations: 8.375 kB / 0.5077 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008524/0.185, allocations: 0.496 MB / 0.5081 GB, free: 8.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 3.286e-06/0.185, allocations: 0 / 0.5081 GB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.003166/0.1881, allocations: 1.115 MB / 0.5092 GB, free: 7.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.1883, allocations: 200.3 kB / 0.5094 GB, free: 7.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.1891, allocations: 453.8 kB / 0.5099 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.1891, allocations: 41.69 kB / 0.5099 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.1896, allocations: 372.4 kB / 0.5102 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.1898, allocations: 198.4 kB / 0.5104 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.1901, allocations: 138.6 kB / 0.5106 GB, free: 6.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.1903, allocations: 366.8 kB / 0.5109 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/0.191, allocations: 273.3 kB / 0.5112 GB, free: 5.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/0.1919, allocations: 417.4 kB / 0.5116 GB, free: 5.145 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.01453/0.2064, allocations: 2.868 MB / 0.5144 GB, free: 2.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.2064, allocations: 4 kB / 0.5144 GB, free: 2.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002192/0.2086, allocations: 0.8792 MB / 0.5152 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/0.2087, allocations: 67.48 kB / 0.5153 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2087, allocations: 8 kB / 0.5153 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004482/0.2091, allocations: 80.78 kB / 0.5154 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.2099, allocations: 167.7 kB / 0.5156 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2732/0.4831, allocations: 1.44 MB / 0.517 GB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009237/0.4841, allocations: 67.2 kB / 0.517 GB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.4841, allocations: 38.91 kB / 0.5171 GB, free: 31.99 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.0005684/0.4847, allocations: 298.8 kB / 0.5173 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4848, allocations: 60.11 kB / 0.5174 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.4868, allocations: 0.9967 MB / 0.5184 GB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4868, allocations: 5.75 kB / 0.5184 GB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4868, allocations: 4.984 kB / 0.5184 GB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.4868, allocations: 7.984 kB / 0.5184 GB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.4901, allocations: 1.553 MB / 0.5199 GB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4901, allocations: 0 / 0.5199 GB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.4906, allocations: 102.4 kB / 0.52 GB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007008/0.4913, allocations: 292.6 kB / 0.5203 GB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.4914, allocations: 31.67 kB / 0.5203 GB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.4925, allocations: 0.8844 MB / 0.5212 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4926, allocations: 1.562 kB / 0.5212 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.4955, allocations: 1.378 MB / 0.5225 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.4959, allocations: 117 kB / 0.5226 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.496, allocations: 23.38 kB / 0.5227 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.4965, allocations: 46 kB / 0.5227 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.4966, allocations: 45.97 kB / 0.5227 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.4967, allocations: 28.91 kB / 0.5228 GB, free: 30.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.4972, allocations: 318.5 kB / 0.5231 GB, free: 30.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4972, allocations: 0 / 0.5231 GB, free: 30.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4983, allocations: 231.2 kB / 0.5233 GB, free: 30.01 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.000285/0.4986, allocations: 156.1 kB / 0.5234 GB, free: 29.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.5005, allocations: 0.9132 MB / 0.5243 GB, free: 29.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5005, allocations: 3.938 kB / 0.5243 GB, free: 29.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.5014, allocations: 473.6 kB / 0.5248 GB, free: 29.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.5021, allocations: 117.5 kB / 0.5249 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.5051, allocations: 1.463 MB / 0.5263 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.5055, allocations: 338.9 kB / 0.5267 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.5059, allocations: 98.2 kB / 0.5268 GB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5061, allocations: 66.75 kB / 0.5268 GB, free: 28.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5061, allocations: 0 / 0.5268 GB, free: 28.48 MB / 382.1 MB Notification: Performance of Templates: time 0.0197/0.5258, allocations: 9.835 MB / 0.5364 GB, free: 25.7 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: 7.151542663574219] Failed to read output from testmodel.py, exit status != 0: 0.5377906560897827 0.543983308 0.37237320900000004 Calling exit ...