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.0007445/0.0007445, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007474/0.0007474, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.844/0.844, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.01644/0.01644, allocations: 4.217 MB / 264.2 MB, free: 9.164 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 393 MB, free: 5.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.261e-05, allocations: 6.219 kB / 393 MB, free: 5.566 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.004158/0.004181, allocations: 4.663 MB / 397.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.006719, allocations: 1.78 MB / 399.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.007021, allocations: 8 kB / 399.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.007523, allocations: 278 kB / 399.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.007996, allocations: 317.6 kB / 400 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.008435, allocations: 335.2 kB / 400.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.009154, allocations: 1.141 MB / 401.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.009491, allocations: 291.4 kB / 401.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005187/0.01001, allocations: 0.651 MB / 402.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.0104, allocations: 422.8 kB / 402.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.515e-05/0.01049, allocations: 112 kB / 402.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.01067, allocations: 183.9 kB / 403.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.01078, allocations: 235.1 kB / 403.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.011, allocations: 351.1 kB / 403.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.0119, allocations: 1.25 MB / 404.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.0119, allocations: 0 / 404.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01191, allocations: 0 / 404.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.01192, allocations: 0 / 404.9 MB, free: 9.523 MB / 378.7 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.001687/0.01361, allocations: 1.237 MB / 406.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.01364, allocations: 11.97 kB / 406.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.01378, allocations: 100.3 kB / 406.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008288/0.01461, allocations: 0.5816 MB / 406.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.01465, allocations: 57.94 kB / 406.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.01473, allocations: 72 kB / 407 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.01566, allocations: 0.8897 MB / 407.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.01568, allocations: 0 / 407.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.01573, allocations: 36 kB / 407.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01574, allocations: 16 kB / 407.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.01656, allocations: 0.6552 MB / 408.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.01893, allocations: 2.365 MB / 410.9 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.01977, allocations: 0.5582 MB / 411.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.0201, allocations: 269.5 kB / 411.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.836e-05/0.02017, allocations: 12.31 kB / 411.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.02063, allocations: 499.9 kB / 412.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 1.853e-06/0.02063, allocations: 0 / 412.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.001606/0.02224, allocations: 1.118 MB / 413.4 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.02232, allocations: 208.4 kB / 413.6 MB, free: 460 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.02265, allocations: 453.7 kB / 414 MB, free: 0 / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.0227, allocations: 41.69 kB / 414.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.02287, allocations: 368.3 kB / 414.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.02297, allocations: 186.5 kB / 414.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.02311, allocations: 142.6 kB / 414.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.02321, allocations: 366.8 kB / 415.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.02354, allocations: 273.3 kB / 415.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.02392, allocations: 420.6 kB / 415.8 MB, free: 14.14 MB / 394.7 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.006836/0.03076, allocations: 2.876 MB / 418.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.03076, allocations: 0 / 418.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001061/0.03182, allocations: 0.8871 MB / 419.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.03186, allocations: 59.41 kB / 419.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.03187, allocations: 4 kB / 419.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.03209, allocations: 76.78 kB / 419.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.03248, allocations: 171.8 kB / 419.9 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/0.03339, allocations: 1.444 MB / 421.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.03366, allocations: 79.64 kB / 421.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.0337, allocations: 39.91 kB / 421.4 MB, free: 8.254 MB / 394.7 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.0002473/0.03395, allocations: 291 kB / 421.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.03402, allocations: 59.62 kB / 421.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.03515, allocations: 0.9955 MB / 422.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.03515, allocations: 8 kB / 422.8 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.03516, allocations: 4 kB / 422.8 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.03516, allocations: 7.922 kB / 422.8 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.03683, allocations: 1.559 MB / 424.3 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.03683, allocations: 0 / 424.3 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.03707, allocations: 99.88 kB / 424.4 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.0374, allocations: 296 kB / 424.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.03743, allocations: 19.98 kB / 424.7 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000599/0.03803, allocations: 0.8892 MB / 425.6 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.03804, allocations: 3.938 kB / 425.6 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.03947, allocations: 1.378 MB / 427 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.03964, allocations: 115.5 kB / 427.1 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.03969, allocations: 23.94 kB / 427.1 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.03993, allocations: 39.97 kB / 427.2 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.04001, allocations: 44.42 kB / 427.2 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.04004, allocations: 23.98 kB / 427.2 MB, free: 2.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.04027, allocations: 318.9 kB / 427.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04027, allocations: 4 kB / 427.6 MB, free: 1.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.04067, allocations: 239.4 kB / 427.8 MB, free: 1.598 MB / 394.7 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.00017/0.04084, allocations: 147.6 kB / 427.9 MB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009654/0.04181, allocations: 0.9161 MB / 428.9 MB, free: 472 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.04181, allocations: 4.062 kB / 428.9 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.04225, allocations: 472.8 kB / 429.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.04266, allocations: 129.5 kB / 429.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.04417, allocations: 1.398 MB / 430.8 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.04437, allocations: 343.8 kB / 431.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.04451, allocations: 76.45 kB / 431.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04451, allocations: 0 / 431.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of Templates: time 0.009579/0.05409, allocations: 12.67 MB / 443.9 MB, free: 1.305 MB / 410.7 MB " [Timeout remaining time 660] 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 os._exit(0), Time elapsed: 4.776693315245211] Failed to read output from testmodel.py, exit status != 0: 0.19058745075017214 0.197179192 0.18397602000000002 Calling exit ...