Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.002224/0.002224, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00263/0.00263, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.03342/0.03342, allocations: 4.211 MB / 263.8 MB, free: 8.98 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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.429e-05, allocations: 2.312 kB / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005962/0.005996, allocations: 3.343 MB / 341.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.008553, allocations: 1.25 MB / 342.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.008788, allocations: 7.938 kB / 342.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.009543, allocations: 206.7 kB / 343.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.01006, allocations: 170.7 kB / 343.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.01038, allocations: 123.8 kB / 343.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.011, allocations: 0.5796 MB / 343.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.01123, allocations: 84.62 kB / 344 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.01163, allocations: 315.2 kB / 344.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.01202, allocations: 203.4 kB / 344.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.704e-05/0.01212, allocations: 56 kB / 344.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.01229, allocations: 67.98 kB / 344.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.962e-05/0.01239, allocations: 107.6 kB / 344.8 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.01259, allocations: 159.6 kB / 344.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.01334, allocations: 0.5608 MB / 345.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01334, allocations: 0 / 345.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.01334, allocations: 4 kB / 345.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01335, allocations: 0 / 345.5 MB, free: 3.414 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002477/0.01583, allocations: 0.8263 MB / 346.3 MB, free: 2.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.01587, allocations: 12.03 kB / 346.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.01605, allocations: 64.66 kB / 346.4 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.01744, allocations: 433.7 kB / 346.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.01747, allocations: 16.88 kB / 346.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.01752, allocations: 24.38 kB / 346.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.01829, allocations: 337.5 kB / 347.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.0183, allocations: 0 / 347.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.01834, allocations: 8 kB / 347.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.01835, allocations: 8 kB / 347.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.01914, allocations: 229.8 kB / 347.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.02212, allocations: 1.39 MB / 348.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008365/0.02295, allocations: 175 kB / 349 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.02346, allocations: 103.6 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.02349, allocations: 4 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.02355, allocations: 37.39 kB / 349.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.02355, allocations: 0 / 349.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.003329/0.02688, allocations: 417 kB / 349.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.02695, allocations: 51.41 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.02797, allocations: 486.6 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.02801, allocations: 25.7 kB / 350.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.02843, allocations: 286.8 kB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.02852, allocations: 47.64 kB / 350.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.02874, allocations: 63.34 kB / 350.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005103/0.02925, allocations: 0.5313 MB / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.02971, allocations: 95.95 kB / 351.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.03024, allocations: 141.3 kB / 351.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/0.03117, allocations: 220.9 kB / 351.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.03117, allocations: 0 / 351.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00242/0.03359, allocations: 441.4 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.03362, allocations: 4 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.03363, allocations: 7.938 kB / 351.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.03528, allocations: 239.2 kB / 352.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.03561, allocations: 36.05 kB / 352.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.04076, allocations: 2.92 MB / 355.1 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.04131, allocations: 31.83 kB / 355.1 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.04135, allocations: 8 kB / 355.1 MB, free: 9.316 MB / 282.7 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): 20 * 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.0003624/0.04171, allocations: 200.5 kB / 355.3 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.04186, allocations: 35.77 kB / 355.3 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.04198, allocations: 35.05 kB / 355.4 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.04199, allocations: 4 kB / 355.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.04199, allocations: 4.031 kB / 355.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.04199, allocations: 0 / 355.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.04435, allocations: 0.6956 MB / 356.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.04435, allocations: 0 / 356.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.04449, allocations: 12 kB / 356.1 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006082/0.04509, allocations: 159.7 kB / 356.2 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.04513, allocations: 11.92 kB / 356.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.04665, allocations: 0.9132 MB / 357.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.04665, allocations: 0 / 357.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.04796, allocations: 402.9 kB / 357.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.04821, allocations: 47.78 kB / 357.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.0483, allocations: 4 kB / 357.6 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.04874, allocations: 11.98 kB / 357.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.04883, allocations: 15.95 kB / 357.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.04885, allocations: 4 kB / 357.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007132/0.04957, allocations: 319.1 kB / 358 MB, free: 6.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.04957, allocations: 0 / 358 MB, free: 6.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007887/0.05036, allocations: 87.72 kB / 358 MB, free: 6.254 MB / 282.7 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 (9): * 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: 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.0003852/0.05074, allocations: 95.25 kB / 358.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.0525, allocations: 435.6 kB / 358.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.0525, allocations: 0 / 358.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.05295, allocations: 83.58 kB / 358.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/0.05392, allocations: 82.47 kB / 358.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.05616, allocations: 0.5859 MB / 359.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.05648, allocations: 181.1 kB / 359.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002556/0.05674, allocations: 34.95 kB / 359.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.05685, allocations: 28.48 kB / 359.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.05685, allocations: 0 / 359.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of Templates: time 0.01527/0.07212, allocations: 4.569 MB / 364.1 MB, free: 172 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.674573756055906]